feat(app): improved errors and warning for disabled features

This commit is contained in:
lowlighter committed 2022-08-28 12:32:57 -04:00
1 parent 77dfb2ae7e
commit 7a53a2da55
45 files changed
+58 -47

No files matched your search

@@ -226,7 +226,7 @@ export default async function(
//Plugin execution
try {
//Check if plugin is enabled and requirements are met
if ((!enabled)||(!q.my_plugin))
if ((!q.my_plugin)||(imports.metadata.plugins.my_plugin.enabled(enabled, {extras})))
return null
//Automatically validate user inputs