style(ui): Move Force Prune Logs button to the top of Log Management panel
This commit is contained in:
@@ -1012,6 +1012,8 @@ class App:
|
||||
if imgui.button("Refresh Registry"):
|
||||
self._log_registry = log_registry.LogRegistry(str(paths.get_logs_dir() / "log_registry.toml"))
|
||||
imgui.same_line()
|
||||
if imgui.button("Force Prune Logs"):
|
||||
self.controller.event_queue.put("gui_task", {"action": "click", "item": "btn_prune_logs"})
|
||||
|
||||
registry = self._log_registry
|
||||
sessions = registry.data
|
||||
@@ -1066,8 +1068,6 @@ class App:
|
||||
)
|
||||
imgui.end_table()
|
||||
|
||||
if imgui.button("Force Prune Logs"):
|
||||
self.controller.event_queue.put("gui_task", {"action": "click", "item": "btn_prune_logs"})
|
||||
imgui.end()
|
||||
|
||||
def _render_files_panel(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user