fix(app/web): unsupported plugins display notice
This commit is contained in:
@@ -180,7 +180,7 @@
|
|||||||
},
|
},
|
||||||
//Unusable plugins
|
//Unusable plugins
|
||||||
unusable() {
|
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]))
|
const options = this.edited.filter(option => !this.supports(this.plugins.options.descriptions[option]))
|
||||||
return [...plugins, ...options].sort()
|
return [...plugins, ...options].sort()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user