diff --git a/src/components/Modal/AcceptModal/AcceptModal.jsx b/src/components/Modal/AcceptModal/AcceptModal.jsx index c115a4fe..c39af125 100644 --- a/src/components/Modal/AcceptModal/AcceptModal.jsx +++ b/src/components/Modal/AcceptModal/AcceptModal.jsx @@ -4,18 +4,19 @@ import close from "assets/icons/closeProjectPersons.svg"; import "./acceptModal.scss"; -export const AcceptModal = ({title, closeModal, agreeHandler }) => { +export const AcceptModal = ({ title, closeModal, agreeHandler }) => { return (
-

- {title} -

+

{title}

-
submitHandler()} - styles={inputsValue.userName && inputsValue.email && inputsValue.password ? "button-box__submit" : "button-box__submit disable"} + styles={ + inputsValue.userName && inputsValue.email && inputsValue.password + ? "button-box__submit" + : "button-box__submit disable" + } > Отправить diff --git a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx index 454baffc..205c157b 100644 --- a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx +++ b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx @@ -1011,7 +1011,7 @@ export const ModalTiсket = ({
{acceptModalOpen && ( diff --git a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx index 4c1ad17f..b41f2df3 100644 --- a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx +++ b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx @@ -1208,9 +1208,10 @@ export const TicketFullScreen = () => {
{acceptModalOpen && ( + title={"Вы точно хотите переместить задачу в архив?"} + closeModal={closeAcceptModal} + agreeHandler={deleteTask} + /> )}
{acceptModalOpen && ( - deleteColumn(currentColumnDelete)} - /> + deleteColumn(currentColumnDelete)} + /> )}