diff --git a/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte b/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte index 28c997d7..08867184 100644 --- a/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte +++ b/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte @@ -73,6 +73,14 @@ let no_results_no_filters = $derived( !($idaa_loc.recovery_meetings.qry__fulltext_str?.trim()) ); +// True when any filter dimension is active — drives the guided empty state. +let has_active_filters = $derived( + !!$idaa_loc.recovery_meetings.qry__physical || + !!$idaa_loc.recovery_meetings.qry__virtual || + !!$idaa_loc.recovery_meetings.qry__type || + !!($idaa_loc.recovery_meetings.qry__fulltext_str?.trim()) +); + let show_cache_reset_btn = $state(false); let cache_reset_timer: any = null; @@ -111,6 +119,13 @@ async function handle_cache_reset() { } $idaa_sess.recovery_meetings.search_version++; } +function clear_filters() { + $idaa_loc.recovery_meetings.qry__physical = null; + $idaa_loc.recovery_meetings.qry__virtual = null; + $idaa_loc.recovery_meetings.qry__type = null; + $idaa_loc.recovery_meetings.qry__fulltext_str = null; + $idaa_sess.recovery_meetings.search_version++; +} // ───────────────────────────────────────────────────────────────────────────────────── // Standardized Reactive Search Pattern (Aether UI V3) @@ -441,24 +456,40 @@ if (browser) { {:else} -
Still not seeing meetings? Your local cache may be out of date.
+No meetings found for these filters.
Still not seeing meetings? Your local cache may be out of date.
+ +