Merge branch 'maintenance' into devel
This commit is contained in:
commit
6cb550e9f4
8 files changed
+153
-144
No files matched your search
@@ -18,10 +18,10 @@ from octoprint.util.version import (
|
||||
)
|
||||
|
||||
SENTRY_URL_SERVER = (
|
||||
"https://6307d7f23ce040a29e080363a8aa1b1a@o118517.ingest.sentry.io/1373987"
|
||||
"https://587d00b409ab4a3da3258c9adee29335@o118517.ingest.sentry.io/1373987"
|
||||
)
|
||||
SENTRY_URL_COREUI = (
|
||||
"https://e6c081baf17c4a82b871ed2a0cb09eba@o118517.ingest.sentry.io/1374096"
|
||||
"https://722128c3b0ff45108bbfdfa566762c89@o118517.ingest.sentry.io/1374096"
|
||||
)
|
||||
|
||||
SETTINGS_DEFAULTS = {
|
||||
|
||||
@@ -81,6 +81,12 @@ $(function () {
|
||||
);
|
||||
});
|
||||
|
||||
self.enableUpdateAll = ko.pureComputed(function () {
|
||||
return (
|
||||
self.enableUpdate() && self.availableAndPossibleAndEnabled().length > 0
|
||||
);
|
||||
});
|
||||
|
||||
self.enable_configSave = ko.pureComputed(function () {
|
||||
return (
|
||||
self.config_checkType() === "github_release" ||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
{% endtrans %}</div>
|
||||
|
||||
<div class="pull-right">
|
||||
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdate, css: {disabled: !enableUpdate}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
|
||||
<button class="btn btn-primary" data-bind="click: function() { $root.updateAll(); }, enable: enableUpdateAll, css: {disabled: !enableUpdateAll}"><i class="fas fa-spinner fa-spin" data-bind="visible: updateInProgress"></i> {{ _('Update all') }}</button>
|
||||
<button class="btn" data-bind="click: function() { $root.performCheck(true, false, true); }, enable: !checking(), css: {disabled: checking()}"><i class="fas fa-spinner fa-spin" data-bind="visible: checking"></i> {{ _('Check for updates') }}</button>
|
||||
<button class="btn btn-small" data-bind="click: function() { $root.showPluginSettings(); }" title="{{ _('Plugin Configuration')|edq }}"><i class="fas fa-wrench"></i></button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user