fix: clear dirty state for read-only testing page

This commit is contained in:
Sam Chau
2026-01-19 09:59:14 +10:30
parent 221d0fffb4
commit 487b043278

View File

@@ -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];