Bug fix for showing and hiding location filter part.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Scott Idem
2026-04-27 14:13:06 -04:00
parent d692d7cfde
commit 6507fb82c0

View File

@@ -156,19 +156,25 @@ function prevent_default<T extends Event>(fn: (event: T) => void) {
text-xs
"
>
<!-- Location filter controls — shown only when location filter is active -->
{#if pres_mgmt_loc.current.show_content__session_search_room_name}
<span class="
flex flex-wrap items-center justify-center gap-1
text-xs
bg-surface-50-950/50
opacity-70 hover:opacity-100
opacity-70
hover:opacity-100
px-2 py-1
rounded-md
transition-all
"
>
<span class="opacity-50">
<span
class="opacity-50"
>
<MapPin size="0.875em" class="opacity-70" /> Location/Room:
</span>
<select
@@ -204,6 +210,7 @@ function prevent_default<T extends Event>(fn: (event: T) => void) {
<MapPin size="1em" />
</button>
</span>
{/if}
<!-- Time window controls — compact row, shown only when filter is active.
Two simple selects (before / after current time) keep this readable for