Update links when going back from the builder

This commit is contained in:
Andrew Kingston 2023-01-09 11:22:12 +00:00
parent f805f6d7f3
commit e461c4d676
1 changed files with 11 additions and 9 deletions

View File

@ -105,32 +105,34 @@
</MenuItem> </MenuItem>
<MenuItem <MenuItem
on:click={() => on:click={() =>
$goto(`../../portal/overview/${application}?tab=Access`)} $goto(`../../portal/overview/${application}/access`)}
> >
Access Access
</MenuItem> </MenuItem>
<MenuItem <MenuItem
on:click={() => on:click={() =>
$goto( $goto(`../../portal/overview/${application}/automation-history`)}
`../../portal/overview/${application}?tab=${encodeURIComponent(
"Automation History"
)}`
)}
> >
Automation history Automation history
</MenuItem> </MenuItem>
<MenuItem <MenuItem
on:click={() => on:click={() =>
$goto(`../../portal/overview/${application}?tab=Backups`)} $goto(`../../portal/overview/${application}/backups`)}
> >
Backups Backups
</MenuItem> </MenuItem>
<MenuItem <MenuItem
on:click={() => on:click={() =>
$goto(`../../portal/overview/${application}?tab=Settings`)} $goto(`../../portal/overview/${application}/name-and-url`)}
> >
Settings Name and URL
</MenuItem>
<MenuItem
on:click={() =>
$goto(`../../portal/overview/${application}/version`)}
>
Version
</MenuItem> </MenuItem>
</ActionMenu> </ActionMenu>
<Heading size="XS">{$store.name || "App"}</Heading> <Heading size="XS">{$store.name || "App"}</Heading>