@mytec: 3.8.0 start, stable w/0 ref+

This commit is contained in:
2026-02-03 23:24:12 +02:00
parent 6cd9d869cc
commit 6dcc5a19b9
3 changed files with 215 additions and 9 deletions

View File

@@ -218,6 +218,12 @@ export const useCoverageStore = create<CoverageState>((set, get) => ({
setError: (error) => set({ error }),
calculateCoverage: async () => {
// Guard against duplicate calculations
if (get().isCalculating) {
console.warn('[Coverage] Calculation already in progress, ignoring duplicate request');
return;
}
const { settings } = get();
const sites = useSitesStore.getState().sites;