fix app settings

This commit is contained in:
Matthias 2021-10-17 04:24:04 +02:00
parent 77312b031a
commit dfe10a417b
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -20,6 +20,7 @@ class PluginConfig(AppConfig):
plugin_setting = plugin.settingspatterns
settings.INTEGRATION_PLUGIN_SETTING[slug] = plugin_setting
settings.INTEGRATION_PLUGIN_SETTINGS.update(plugin_setting)
InvenTreeSetting.GLOBAL_SETTINGS.update(plugin_setting)
# if plugin apps are enabled
if (not settings.INTEGRATION_APPS_LOADED) and InvenTreeSetting.get_setting('ENABLE_PLUGINS_APP'):