diff --git a/frontend/src/composables/useDataLoader.ts b/frontend/src/composables/useDataLoader.ts index db0ef02d2..640f3218f 100644 --- a/frontend/src/composables/useDataLoader.ts +++ b/frontend/src/composables/useDataLoader.ts @@ -94,7 +94,7 @@ export function useData | string>( function load(params: P) { status.value = "loading"; - setState(defaultValue || undefined); + setState(defaultValue ?? undefined); if (skip(params)) { console.log("skip", key(params));