diff --git a/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx b/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx index 7e730c77c..0d8938aa1 100644 --- a/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx +++ b/web/containers/Layout/BottomPanel/SystemMonitor/index.tsx @@ -1,14 +1,22 @@ import { Fragment, useEffect, useState } from 'react' -import { Progress } from '@janhq/joi' +import { Button, Progress } from '@janhq/joi' import { useClickOutside } from '@janhq/joi' import { useAtom, useAtomValue } from 'jotai' -import { MonitorIcon, XIcon, ChevronDown, ChevronUp } from 'lucide-react' +import { + MonitorIcon, + XIcon, + ChevronDown, + ChevronUp, + FolderOpenIcon, +} from 'lucide-react' import { twMerge } from 'tailwind-merge' import useGetSystemResources from '@/hooks/useGetSystemResources' +import { usePath } from '@/hooks/usePath' + import { toGibibytes } from '@/utils/converter' import TableActiveModel from './TableActiveModel' @@ -28,6 +36,7 @@ const SystemMonitor = () => { const usedRam = useAtomValue(usedRamAtom) const cpuUsage = useAtomValue(cpuUsageAtom) const gpus = useAtomValue(gpusAtom) + const { onRevealInFinder } = usePath() const [showFullScreen, setShowFullScreen] = useState(false) const ramUtilitized = useAtomValue(ramUtilitizedAtom) const [showSystemMonitorPanel, setShowSystemMonitorPanel] = useAtom( @@ -64,7 +73,7 @@ const SystemMonitor = () => {