fix(ui): убрать неработающий экспорт серверов

This commit is contained in:
Denozordec committed 2026-09-23 14:28:39 +07:00
1 parent 0734679fd6
commit a9ed459481
2 files changed
+7 -2

No files matched your search

+1 -2
View File
@@ -55,7 +55,7 @@ import {
StepperTrigger,
} from "@/components/reui/stepper"
import {
RefreshCwIcon, DownloadIcon, PlusIcon, TrashIcon,
RefreshCwIcon, PlusIcon, TrashIcon,
EyeIcon, EyeOffIcon,
ChevronRightIcon, ChevronDownIcon,
CheckCircleIcon, XCircleIcon, LoaderCircleIcon,
@@ -614,7 +614,6 @@ function ServersPageContent() {
<Button variant="outline" size="sm" onClick={() => selectedServerId !== null ? selectedServer && void runPoll([selectedServer.id]) : void handlePollAll()} disabled={!canWrite || !isLive || controlsBusy || (selectedServerId !== null ? !selectedServer : serverList.length === 0)}>
<RefreshCwIcon className={cn("size-4", pollAllBusy && "animate-spin")} />{selectedServerId !== null ? "Проверить сервер" : "Проверить все"}
</Button>
<Button variant="outline" size="sm"><DownloadIcon className="size-4" />Экспорт</Button>
<Button size="sm" onClick={openAdd} disabled={!canWrite || controlsBusy}><PlusIcon className="size-4" />Добавить сервер</Button>
</>
}