Added an additional unless function to UiPlugin
Allows overriding adding a potentially invalid config to the preemptive cache for a plugin.
This commit is contained in:
1 parent
54fe75fb4e
commit
cfce3713fe
2 files changed
+14
-3
No files matched your search
@@ -765,6 +765,9 @@ class UiPlugin(OctoPrintPlugin, SortablePlugin):
|
||||
"""
|
||||
return None
|
||||
|
||||
def get_ui_additional_unless(self):
|
||||
return False
|
||||
|
||||
class WizardPlugin(OctoPrintPlugin, ReloadNeedingPlugin):
|
||||
"""
|
||||
The ``WizardPlugin`` mixin allows plugins to report to OctoPrint whether
|
||||
|
||||
Reference in new issue
Block a user