tmp fix for recurtion

This commit is contained in:
Matthias Mair 2024-10-28 21:27:39 +01:00
parent c7cffbe1b6
commit f4a043860c
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 2 additions and 4 deletions

View File

@ -375,10 +375,8 @@ class InvenTreePlugin(VersionMixin, MixinBase, MetaBase):
@property
def settings_url(self):
"""URL to the settings panel for this plugin."""
from plugin.registry import registry
if registry.is_loading:
return None
# TODO @matmair fix before MErge
return ''
config = self.plugin_config()
if config: