diff --git a/frontend/src/app.d.ts b/frontend/src/app.d.ts new file mode 100644 index 0000000000..02f477e4dc --- /dev/null +++ b/frontend/src/app.d.ts @@ -0,0 +1,9 @@ +/// + +// See https://kit.svelte.dev/docs/types#app +// for information about these interfaces +declare namespace App { + interface Stuff { + title: string? + } +} diff --git a/frontend/src/app.html b/frontend/src/app.html index 37863e2c31..999457a5fe 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -5,7 +5,6 @@ - windmill.dev %sveltekit.head% diff --git a/frontend/src/lib/components/ScriptPicker.svelte b/frontend/src/lib/components/ScriptPicker.svelte index a90ecab5b2..8ef8987582 100644 --- a/frontend/src/lib/components/ScriptPicker.svelte +++ b/frontend/src/lib/components/ScriptPicker.svelte @@ -12,7 +12,7 @@ import { python, typescript } from 'svelte-highlight/languages' import github from 'svelte-highlight/styles/github' - import { getScript, getScriptByPath } from '$lib/utils' + import { getScriptByPath } from '$lib/utils' export let scriptPath: string | undefined = undefined export let allowFlow = false diff --git a/frontend/src/routes/__layout-none.svelte b/frontend/src/routes/__layout-none.svelte index 3eda2a20cf..1547df56cd 100644 --- a/frontend/src/routes/__layout-none.svelte +++ b/frontend/src/routes/__layout-none.svelte @@ -1,4 +1,6 @@ + + {$page.stuff.title ? `${$page.stuff.title} | ` : ''}Windmill + + diff --git a/frontend/src/routes/audit_logs.svelte b/frontend/src/routes/audit_logs.svelte index 17b3be933b..c6f02057d3 100644 --- a/frontend/src/routes/audit_logs.svelte +++ b/frontend/src/routes/audit_logs.svelte @@ -1,3 +1,11 @@ + + + + + + + + + + + + + + + + + + + + + + +