Fix command palette navigating to screens

This commit is contained in:
Andrew Kingston 2023-08-23 15:46:41 +01:00
parent 277aa30b07
commit 94d9769310
1 changed files with 3 additions and 1 deletions

View File

@ -121,7 +121,9 @@
type: "Screen",
name: screen.routing.route,
icon: "WebPage",
action: () => $goto(`./design/${screen._id}`),
action: () => {
$goto(`./design/${screen._id}/${screen._id}-screen`)
},
})),
...($automationStore?.automations?.map(automation => ({
type: "Automation",