From 78f2ecc24678f5fc501ff35adbd624cc7158598d Mon Sep 17 00:00:00 2001 From: Denozordec Date: Fri, 3 Jul 2026 14:10:23 +0700 Subject: [PATCH] fix(auth): update Select components to include SelectValue for better placeholder handling Modified the Select components in operations.tsx, settings.tsx, and tenant-settings.tsx to incorporate SelectValue for improved placeholder functionality. Additionally, updated the daemon PID and timestamps in .codegraph/daemon.pid for consistency. --- .codegraph/daemon.pid | 4 ++-- apps/web/src/routes/_auth/operations.tsx | 9 +++++++-- apps/web/src/routes/_auth/settings.tsx | 12 ++++++++++-- apps/web/src/routes/_auth/tenant-settings.tsx | 9 +++++---- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/.codegraph/daemon.pid b/.codegraph/daemon.pid index 6123d49..5f02249 100644 --- a/.codegraph/daemon.pid +++ b/.codegraph/daemon.pid @@ -1,6 +1,6 @@ { - "pid": 52448, + "pid": 48400, "version": "0.9.9", "socketPath": "\\\\.\\pipe\\codegraph-97b92efdcc5351da", - "startedAt": 1782969267595 + "startedAt": 1783060842523 } diff --git a/apps/web/src/routes/_auth/operations.tsx b/apps/web/src/routes/_auth/operations.tsx index c49730b..2a5a38d 100644 --- a/apps/web/src/routes/_auth/operations.tsx +++ b/apps/web/src/routes/_auth/operations.tsx @@ -12,6 +12,7 @@ import { SelectContent, SelectItem, SelectTrigger, + SelectValue, } from '@evobgp/ui/components/select' import { Tabs, TabsContent, TabsList, TabsTrigger } from '@evobgp/ui/components/tabs' import { @@ -378,7 +379,9 @@ function DiffTab({ revisions }: { revisions: import('@/types/api').RevisionRow[]
Ревизия A v && setB(v)}> - {b ? b.slice(0, 12) + '…' : 'Выберите'} + + + {revisions.map((r) => ( diff --git a/apps/web/src/routes/_auth/settings.tsx b/apps/web/src/routes/_auth/settings.tsx index 85096ee..db75cb5 100644 --- a/apps/web/src/routes/_auth/settings.tsx +++ b/apps/web/src/routes/_auth/settings.tsx @@ -4,7 +4,13 @@ import { useQuery } from '@tanstack/react-query' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@evobgp/ui/components/card' import { Input } from '@evobgp/ui/components/input' import { Label } from '@evobgp/ui/components/label' -import { Select, SelectContent, SelectItem, SelectTrigger } from '@evobgp/ui/components/select' +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from '@evobgp/ui/components/select' import { PageHeader } from '@/components/page-header' import { LoadingButton } from '@/components/loading-button' @@ -85,7 +91,9 @@ function SettingsComponent() {