mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 00:04:10 +00:00
fix: fix app path renaming
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user