add alerts

This commit is contained in:
2024-02-20 15:17:05 +03:00
parent deac5ec94d
commit 9b01381af1
8 changed files with 49 additions and 11 deletions

View File

@ -23,6 +23,7 @@
display: flex;
flex-direction: column;
width: 65%;
align-items: center;
@media (max-width: 1106px) {
width: 100%;
@ -115,6 +116,8 @@
.input-container {
margin: 0 0 20px 0;
width: 100%;
display: flex;
flex-direction: column;
}
span {

View File

@ -35,8 +35,8 @@ import arrow from "assets/icons/arrows/arrowCalendar.png";
import arrowStart from "assets/icons/arrows/arrowStart.png";
import arrowDown from "assets/icons/arrows/selectArrow.png";
import calendarIcon from "assets/icons/calendar.svg";
import close from "assets/icons/crossWhite.svg";
import fileDelete from "assets/icons/closeProjectPersons.svg";
import close from "assets/icons/crossWhite.svg";
import del from "assets/icons/delete.svg";
import edit from "assets/icons/edit.svg";
import file from "assets/icons/fileModal.svg";

View File

@ -125,6 +125,11 @@ export const TrackerModal = ({
}
}).then(() => {
dispatch(setProjectBoardFetch(projectBoard.id));
showNotification({
show: true,
text: "Колонка создана",
type: "success"
});
});
setValueColumn("");
setActive(false);
@ -219,6 +224,11 @@ export const TrackerModal = ({
}).then(() => {
setActive(false);
dispatch(editProjectName({ id: projectId, name: projectName }));
showNotification({
show: true,
text: "Название проекта успешно изменено",
type: "success"
});
});
}
@ -269,6 +279,11 @@ export const TrackerModal = ({
}).then(() => {
setActive(false);
dispatch(editColumnName({ id: columnId, title: columnName }));
showNotification({
show: true,
text: "Колонка создана",
type: "success"
});
});
}
@ -323,6 +338,11 @@ export const TrackerModal = ({
}).then((el) => {
setActive(false);
setEmailWorker("");
showNotification({
show: true,
text: "Приглашение отправлено",
type: "success"
});
});
}