mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 10:43:36 +00:00
remove: disk health summary widget from dashboard per user request
This commit is contained in:
@@ -11,7 +11,6 @@ import { UnifiedNodeSelector } from '@/components/shared/UnifiedNodeSelector';
|
||||
import { MetricBar } from './MetricBar';
|
||||
import { formatBytes, formatUptime } from '@/utils/format';
|
||||
import { DashboardFilter } from './DashboardFilter';
|
||||
import { DiskHealthSummary } from './DiskHealthSummary';
|
||||
|
||||
interface DashboardProps {
|
||||
vms: VM[];
|
||||
@@ -25,7 +24,7 @@ type GroupingMode = 'grouped' | 'flat';
|
||||
|
||||
|
||||
export function Dashboard(props: DashboardProps) {
|
||||
const { connected, activeAlerts, initialDataReceived, state } = useWebSocket();
|
||||
const { connected, activeAlerts, initialDataReceived } = useWebSocket();
|
||||
const [search, setSearch] = createSignal('');
|
||||
const [isSearchLocked, setIsSearchLocked] = createSignal(false);
|
||||
const [selectedNode, setSelectedNode] = createSignal<string | null>(null);
|
||||
@@ -476,11 +475,6 @@ export function Dashboard(props: DashboardProps) {
|
||||
searchTerm={search()}
|
||||
/>
|
||||
|
||||
{/* Disk Health Summary Widget */}
|
||||
<div class="mb-4">
|
||||
<DiskHealthSummary disks={state.physicalDisks || []} />
|
||||
</div>
|
||||
|
||||
{/* Removed old node table - keeping the rest unchanged */}
|
||||
<Show when={false}>
|
||||
<div class="mb-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700">
|
||||
|
||||
Reference in New Issue
Block a user