diff --git a/frontend/src/lib/components/Path.svelte b/frontend/src/lib/components/Path.svelte index 6e1244b05f..c35b5f1e81 100644 --- a/frontend/src/lib/components/Path.svelte +++ b/frontend/src/lib/components/Path.svelte @@ -355,6 +355,19 @@ !dirty && (dirty = true) } + $effect(() => { + if ( + path !== undefined && + path !== '' && + initialPath && + !initialPath.startsWith('tmp/') && + path !== initialPath && + !dirty + ) { + dirty = true + } + }) + const openSearchWithPrefilledText: (t?: string) => void = getContext( 'openSearchWithPrefilledText' )