🐛 Fix connection refreshing
This commit is contained in:
1 parent
4135bb615c
commit
fe1bd0131b
3 files changed
+2
-3
No files matched your search
@@ -7,6 +7,5 @@
|
||||
* Anything missing from settings migration to profile?
|
||||
* Disconnect after incomplete connect/reset states
|
||||
* Failing tests
|
||||
* Refresh of connection not working properly
|
||||
|
||||
TBC
|
||||
@@ -632,7 +632,7 @@ $(function () {
|
||||
if (!self.loginState.hasPermission(self.access.permissions.CONNECTION)) {
|
||||
return;
|
||||
}
|
||||
return OctoPrint.connection.getOptions().done(self.fromOptionsRespons);
|
||||
return OctoPrint.connection.getOptions().done(self.fromOptionsResponse);
|
||||
};
|
||||
|
||||
self.requestCurrentData = function () {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="refresh-trigger accordion-heading-button btn-group" data-bind="visible: $root.refreshVisible">
|
||||
<a href="javascript:void(0)" data-bind="click: function() { $root.requestOptionsData(); }" title="{{ _('Refresh connection options')|edq }}">
|
||||
<a href="javascript:void(0)" data-bind="click: function() { $root.requestData(); }" title="{{ _('Refresh connection options')|edq }}">
|
||||
<i class="fas fa-sync"></i>
|
||||
</a>
|
||||
</div>
|
||||
Reference in new issue
Block a user