From 8f189d05d4f405ab14820c2568bf65a8f4f663eb Mon Sep 17 00:00:00 2001 From: dv Date: Thu, 9 Apr 2026 12:26:50 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Objects.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/Objects.tsx b/frontend/src/pages/Objects.tsx index 80bcc57..13b92c0 100644 --- a/frontend/src/pages/Objects.tsx +++ b/frontend/src/pages/Objects.tsx @@ -1,4 +1,6 @@ import { + ControlOutlined, + DatabaseOutlined, DeleteOutlined, EditOutlined, PlusOutlined, @@ -13,6 +15,7 @@ import { Checkbox, Col, Collapse, + Segmented, Divider, Form, Input, @@ -262,9 +265,19 @@ export function ObjectsPage({ mode }: Props) { marginBottom: 16, }} > - - {mode === 'inventory' ? 'Инвентарь — Объекты' : 'Работа — Объекты'} - + + + {mode === 'inventory' ? 'Инвентарь — Объекты' : 'Работа — Объекты'} + + }, + { label: 'Работа', value: 'work', icon: }, + ]} + onChange={(val) => navigate(val === 'inventory' ? '/inventory/objects' : '/work/objects')} + /> +