Fix command palette navigating to screens
This commit is contained in:
parent
277aa30b07
commit
94d9769310
|
@ -121,7 +121,9 @@
|
||||||
type: "Screen",
|
type: "Screen",
|
||||||
name: screen.routing.route,
|
name: screen.routing.route,
|
||||||
icon: "WebPage",
|
icon: "WebPage",
|
||||||
action: () => $goto(`./design/${screen._id}`),
|
action: () => {
|
||||||
|
$goto(`./design/${screen._id}/${screen._id}-screen`)
|
||||||
|
},
|
||||||
})),
|
})),
|
||||||
...($automationStore?.automations?.map(automation => ({
|
...($automationStore?.automations?.map(automation => ({
|
||||||
type: "Automation",
|
type: "Automation",
|
||||||
|
|
Loading…
Reference in New Issue