From f791122af2cd7c85a9e6fb8064d68965cd517a96 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Tue, 22 Nov 2022 18:15:42 -0500 Subject: [PATCH] fix(app/web): unsupported plugins display notice --- source/app/web/statics/embed/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/web/statics/embed/app.js b/source/app/web/statics/embed/app.js index 29fef673..0d90ee1b 100644 --- a/source/app/web/statics/embed/app.js +++ b/source/app/web/statics/embed/app.js @@ -180,7 +180,7 @@ }, //Unusable plugins unusable() { - const plugins = Object.entries(this.plugins.enabled).filter(([key, value]) => (value == true) && (!this.supports(this.plugins.options.descriptions[key]))).map(([key]) => key) + const plugins = Object.entries(this.plugins.enabled).filter(([key, value]) => (value == true) && (!this.plugins.list.filter(({name}) => name === key)[0]?.enabled)).map(([key]) => key) const options = this.edited.filter(option => !this.supports(this.plugins.options.descriptions[option])) return [...plugins, ...options].sort() },