2024-12-04 09:24:59: merge [main:a8ae60cddef51ce3d049adeef9583db54efce913];
This commit is contained in:
1 parent
03fa976526
commit
ac08aef65c
7 files changed
+18
-9
No files matched your search
@@ -9,6 +9,8 @@ import { ConfigType } from '@pages/ModulesPage/module.type.ts'
|
||||
|
||||
import configServiceApi from '@services/configService.ts'
|
||||
|
||||
import './confirm-config-modal.scss'
|
||||
|
||||
interface ConfirmModalProps extends Omit<ModalPropsType, 'title' | 'children'> {
|
||||
handleSaveClick: (upVersion?: number, unsafe?: boolean) => void
|
||||
setBufConfig: Dispatch<SetStateAction<ConfigType | undefined>>
|
||||
@@ -39,7 +41,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
|
||||
onClose={onClose}
|
||||
>
|
||||
<Button
|
||||
className="confirm-modal-btn danger"
|
||||
className="confirm-btn danger"
|
||||
type="primary"
|
||||
danger
|
||||
onClick={() => {
|
||||
@@ -49,7 +51,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
|
||||
>
|
||||
Сохранить принудительно
|
||||
</Button>
|
||||
<Button className="confirm-modal-btn" type="primary" onClick={onConfirmHandler}>
|
||||
<Button className="confirm-btn" type="primary" onClick={onConfirmHandler}>
|
||||
Принять изменения
|
||||
</Button>
|
||||
</Modal>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
.modal__content {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
Reference in new issue
Block a user