fix: fix app path renaming

This commit is contained in:
Ruben Fiszel
2025-09-09 12:50:56 +00:00
parent ba3da8be5b
commit 8c689e35e8
2 changed files with 3 additions and 5 deletions
@@ -206,8 +206,6 @@
async function computeTriggerables() {
const items = allItems($app.grid, $app.subgrids)
console.debug('items', items)
const allTriggers: ([string, TriggerableV2] | undefined)[] = (await Promise.all(
items
.flatMap((x) => {
@@ -219,10 +219,10 @@
{#if app}
<div class="h-screen">
<AppEditor
on:savedNewAppPath={(event) => {
goto(`/apps/edit/${event.detail}`)
onSavedNewAppPath={(url) => {
goto(`/apps/edit/${url}`)
if (app) {
app.path = event.detail
app.path = url
}
}}
on:restore={onRestore}