From 0fa0b975ef32d318e2f7ebeda55d081b581ffcba Mon Sep 17 00:00:00 2001 From: djmaze Date: Tue, 2 Mar 2021 09:51:52 +0100 Subject: [PATCH] Bugfix: plugin config failed --- dev/Styles/AdminPlugins.less | 3 +++ dev/View/Popup/Plugin.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/Styles/AdminPlugins.less b/dev/Styles/AdminPlugins.less index 5bd4f2206..8a96c3516 100644 --- a/dev/Styles/AdminPlugins.less +++ b/dev/Styles/AdminPlugins.less @@ -29,4 +29,7 @@ display: block; // account for any element using help-block margin-bottom: 5px; } + .controls { + width: 470px; + } } diff --git a/dev/View/Popup/Plugin.js b/dev/View/Popup/Plugin.js index d75db1714..8c493b3a7 100644 --- a/dev/View/Popup/Plugin.js +++ b/dev/View/Popup/Plugin.js @@ -24,7 +24,7 @@ class PluginPopupView extends AbstractViewPopup { this.configures = ko.observableArray(); this.hasReadme = ko.computed(() => !!this.readme()); - this.hasConfiguration = ko.computed(() => 0 < this.configures.length); + this.hasConfiguration = ko.computed(() => 0 < this.configures().length); this.bDisabeCloseOnEsc = true; this.sDefaultKeyScope = KeyState.All;