mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 23:29:37 +01:00
fix: toast alert inconsistency (#2730)
This commit is contained in:
@@ -45,6 +45,11 @@ export const DeleteModuleModal: React.FC<Props> = observer((props) => {
|
||||
.then(() => {
|
||||
if (moduleId) router.push(`/${workspaceSlug}/projects/${data.project}/modules`);
|
||||
handleClose();
|
||||
setToastAlert({
|
||||
type: "success",
|
||||
title: "Success!",
|
||||
message: "Module deleted successfully.",
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
setToastAlert({
|
||||
|
||||
Reference in New Issue
Block a user