File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 13
13
from octoprint .access .permissions import Permissions
14
14
from octoprint .events import Events
15
15
from octoprint .util import to_unicode
16
+ from octoprint .util .version import is_octoprint_compatible
16
17
17
18
from .checks import Severity
18
19
from .checks .firmware_broken import FirmwareBrokenChecks
@@ -324,3 +325,20 @@ def register_custom_events(*args, **kwargs):
324
325
"octoprint.events.register_custom_events" : register_custom_events ,
325
326
"octoprint.access.permissions" : __plugin_implementation__ .get_additional_permissions ,
326
327
}
328
+
329
+ if is_octoprint_compatible ("<1.6" ):
330
+ __plugin_settings_overlay__ = {
331
+ "appearance" : {
332
+ "components" : {
333
+ "order" : {
334
+ "sidebar" : [
335
+ "plugin_firmware_check_warning" ,
336
+ "plugin_firmware_check_info" ,
337
+ "connection" ,
338
+ "state" ,
339
+ "files" ,
340
+ ]
341
+ }
342
+ }
343
+ }
344
+ }
You can’t perform that action at this time.
0 commit comments