fix: show node summary table in kiosk mode

The UnifiedNodeSelector is the main dashboard content that users want
to display on wall-mounted screens. Only the filter/search UI should
be hidden in kiosk mode, not the actual data tables.
This commit is contained in:
rcourtman
2026-01-19 23:19:24 +00:00
parent f70884b6b9
commit 39d647c947

View File

@@ -960,18 +960,16 @@ export function Dashboard(props: DashboardProps) {
<ProxmoxSectionNav current="overview" />
</Show>
{/* Unified Node Selector - hidden in kiosk mode */}
<Show when={!kioskMode()}>
<UnifiedNodeSelector
currentTab="dashboard"
globalTemperatureMonitoringEnabled={ws.state.temperatureMonitoringEnabled}
onNodeSelect={handleNodeSelect}
nodes={props.nodes}
filteredVms={filteredGuests().filter((g) => g.type === 'qemu')}
filteredContainers={filteredGuests().filter((g) => g.type === 'lxc' || g.type === 'oci')}
searchTerm={search()}
/>
</Show>
{/* Unified Node Selector - always visible (this is the main dashboard content) */}
<UnifiedNodeSelector
currentTab="dashboard"
globalTemperatureMonitoringEnabled={ws.state.temperatureMonitoringEnabled}
onNodeSelect={handleNodeSelect}
nodes={props.nodes}
filteredVms={filteredGuests().filter((g) => g.type === 'qemu')}
filteredContainers={filteredGuests().filter((g) => g.type === 'lxc' || g.type === 'oci')}
searchTerm={search()}
/>
{/* Dashboard Filter - hidden in kiosk mode */}
<Show when={!kioskMode()}>