Util.go_to_screen_by_id
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline failed

This commit is contained in:
2026-02-17 21:58:22 +01:00
parent 0357eb415e
commit 9eef8fd6e0
6 changed files with 15 additions and 35 deletions

View File

@@ -2,13 +2,7 @@ DesitionManager.register({
id = "go_to_office",
label = "Go to Office",
handle = function()
local screen_index = Context.screen_indices_by_id["office"]
if screen_index then
Context.current_screen = screen_index
Context.selected_desition_index = 1
else
PopupWindow.show({"Error: Screen 'office' not found or not indexed!"})
end
Util.go_to_screen_by_id("office")
end,
condition = function() return true end
})