From 487b043278f4dc29ff7ef7dae30163c9d069e6d9 Mon Sep 17 00:00:00 2001 From: Sam Chau Date: Mon, 19 Jan 2026 09:59:14 +1030 Subject: [PATCH] fix: clear dirty state for read-only testing page --- .../custom-formats/[databaseId]/[id]/testing/+page.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/custom-formats/[databaseId]/[id]/testing/+page.svelte b/src/routes/custom-formats/[databaseId]/[id]/testing/+page.svelte index bd7e951..57532c6 100644 --- a/src/routes/custom-formats/[databaseId]/[id]/testing/+page.svelte +++ b/src/routes/custom-formats/[databaseId]/[id]/testing/+page.svelte @@ -9,9 +9,13 @@ import type { Column } from '$ui/table/types'; import type { PageData } from './$types'; import type { TestWithResult } from './+page.server'; + import { clear } from '$lib/client/stores/dirty'; export let data: PageData; + // Clear dirty state - this is a read-only listing page + clear(); + type Test = TestWithResult; type Condition = Test['conditions'][number];