pop-up notifications
This commit is contained in:
@ -256,7 +256,11 @@ export const ProjectTracker = () => {
|
||||
} else {
|
||||
dispatch(setProjectBoardFetch(projectBoard.id));
|
||||
}
|
||||
showNotification({ show: true, text: "Колонка удалена", type: "error" });
|
||||
showNotification({
|
||||
show: true,
|
||||
text: "Колонка удалена",
|
||||
type: "error"
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@ -319,6 +323,11 @@ export const ProjectTracker = () => {
|
||||
...prevState,
|
||||
add: false
|
||||
}));
|
||||
showNotification({
|
||||
show: true,
|
||||
text: "Тег успешно создан",
|
||||
type: "success"
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -340,6 +349,11 @@ export const ProjectTracker = () => {
|
||||
}));
|
||||
setTagInfo({ description: "", name: "" });
|
||||
setColor("#aabbcc");
|
||||
showNotification({
|
||||
show: true,
|
||||
text: "Тег успешно изменён",
|
||||
type: "success"
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@ -353,6 +367,11 @@ export const ProjectTracker = () => {
|
||||
}
|
||||
}).then(() => {
|
||||
dispatch(deleteTagProject(tagId));
|
||||
showNotification({
|
||||
show: true,
|
||||
text: "Тег удален",
|
||||
type: "success"
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user