mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 10:51:02 +01:00
fix: clear dirty state for read-only testing page
This commit is contained in:
@@ -9,9 +9,13 @@
|
|||||||
import type { Column } from '$ui/table/types';
|
import type { Column } from '$ui/table/types';
|
||||||
import type { PageData } from './$types';
|
import type { PageData } from './$types';
|
||||||
import type { TestWithResult } from './+page.server';
|
import type { TestWithResult } from './+page.server';
|
||||||
|
import { clear } from '$lib/client/stores/dirty';
|
||||||
|
|
||||||
export let data: PageData;
|
export let data: PageData;
|
||||||
|
|
||||||
|
// Clear dirty state - this is a read-only listing page
|
||||||
|
clear();
|
||||||
|
|
||||||
type Test = TestWithResult;
|
type Test = TestWithResult;
|
||||||
type Condition = Test['conditions'][number];
|
type Condition = Test['conditions'][number];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user