mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-29 00:03:09 +00:00
fix(deploy-to-hub): use ?tab query param to link to the Apps settings tab
The "Edit in Workspace settings → Apps" link set window.location.hash, but
the settings page derives the active tab from ?tab=..., so the link was a
dead affordance. Navigate with goto('?tab=default_app') instead.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
31c2dffc8e
commit
339ca2d4c2
@@ -28,6 +28,7 @@
|
||||
ScheduleService
|
||||
} from '$lib/gen'
|
||||
import { workspaceStore } from '$lib/stores'
|
||||
import { goto } from '$app/navigation'
|
||||
import { computeSecretUrl } from '$lib/components/apps/editor/appDeploy.svelte'
|
||||
import {
|
||||
buildProjectBundle,
|
||||
@@ -1924,12 +1925,12 @@
|
||||
</span>
|
||||
{/if}
|
||||
<a
|
||||
href="#default_app"
|
||||
href="?tab=default_app"
|
||||
class="text-[11px] text-blue-600 underline"
|
||||
onclick={(e) => {
|
||||
e.preventDefault()
|
||||
publishDrawer?.closeDrawer()
|
||||
window.location.hash = 'default_app'
|
||||
goto('?tab=default_app')
|
||||
}}
|
||||
>
|
||||
Edit in Workspace settings → Apps
|
||||
|
||||
Reference in New Issue
Block a user