refactor(PingServicesManager): replace PageHeaderActions with a custom button list for improved UI structure
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m59s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m59s
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
|||||||
IconSearch,
|
IconSearch,
|
||||||
} from '@tabler/icons-react';
|
} from '@tabler/icons-react';
|
||||||
import PageHeader from './components/PageHeader.jsx';
|
import PageHeader from './components/PageHeader.jsx';
|
||||||
import PageHeaderActions from './components/PageHeaderActions.jsx';
|
|
||||||
import FormModal from './components/FormModal.jsx';
|
import FormModal from './components/FormModal.jsx';
|
||||||
import FormField from './components/FormField.jsx';
|
import FormField from './components/FormField.jsx';
|
||||||
import ConfirmModal from './components/ConfirmModal.jsx';
|
import ConfirmModal from './components/ConfirmModal.jsx';
|
||||||
@@ -212,7 +211,7 @@ export default function PingServicesManager() {
|
|||||||
title="Пинг сервисов"
|
title="Пинг сервисов"
|
||||||
icon={<IconCloud size={24} />}
|
icon={<IconCloud size={24} />}
|
||||||
actions={(
|
actions={(
|
||||||
<PageHeaderActions>
|
<div className="btn-list">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="btn btn-primary"
|
className="btn btn-primary"
|
||||||
@@ -232,7 +231,7 @@ export default function PingServicesManager() {
|
|||||||
<IconDeviceFloppy size={18} className="me-1" />
|
<IconDeviceFloppy size={18} className="me-1" />
|
||||||
Сохранить
|
Сохранить
|
||||||
</button>
|
</button>
|
||||||
</PageHeaderActions>
|
</div>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user