Fixed InstancesDebugger not showing. Added mk.label

This commit is contained in:
2025-11-16 22:35:56 +01:00
parent 3667f1df44
commit cdccd0cbaa
4 changed files with 54 additions and 16 deletions

View File

@@ -37,9 +37,11 @@ def index(session):
command=layout.commands.toggle_drawer("right"),
id="btn_show_right_drawer_id")
btn_show_instances_debugger = mk.icon(volume_object_storage,
command=tabs_manager.commands.add_tab("Instances", instances_debugger),
id=instances_debugger.get_id())
btn_show_instances_debugger = mk.label("Instances",
icon=volume_object_storage,
command=tabs_manager.commands.add_tab("Instances", instances_debugger),
id=instances_debugger.get_id())
layout.header_left.add(tabs_manager.add_tab_btn())
layout.header_right.add(btn_show_right_drawer)
layout.left_drawer.add(btn_show_instances_debugger)