фикс
This commit is contained in:
parent
581a03e29d
commit
8f189d05d4
1 changed files with 16 additions and 3 deletions
|
|
@ -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,
|
||||
}}
|
||||
>
|
||||
<Typography.Title level={4} style={{ margin: 0 }}>
|
||||
{mode === 'inventory' ? 'Инвентарь — Объекты' : 'Работа — Объекты'}
|
||||
</Typography.Title>
|
||||
<Space align="center" size={16}>
|
||||
<Typography.Title level={4} style={{ margin: 0 }}>
|
||||
{mode === 'inventory' ? 'Инвентарь — Объекты' : 'Работа — Объекты'}
|
||||
</Typography.Title>
|
||||
<Segmented
|
||||
value={mode}
|
||||
options={[
|
||||
{ label: 'Инвентарь', value: 'inventory', icon: <DatabaseOutlined /> },
|
||||
{ label: 'Работа', value: 'work', icon: <ControlOutlined /> },
|
||||
]}
|
||||
onChange={(val) => navigate(val === 'inventory' ? '/inventory/objects' : '/work/objects')}
|
||||
/>
|
||||
</Space>
|
||||
<Space>
|
||||
<Input.Search
|
||||
placeholder="Поиск по названию, городу, клиенту..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue