Fixed naming of errors
This commit is contained in:
parent
5b1de707fa
commit
22248d9104
1 changed files with 3 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ export default function ComponentsComponent({
|
||||||
setOpenDelete(true);
|
setOpenDelete(true);
|
||||||
} else if (action === "duplicate") {
|
} else if (action === "duplicate") {
|
||||||
handleDuplicate();
|
handleDuplicate();
|
||||||
} else if (action === "exprot") {
|
} else if (action === "export") {
|
||||||
handleExport();
|
handleExport();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -174,6 +174,7 @@ export default function ComponentsComponent({
|
||||||
selectedFlow!.description,
|
selectedFlow!.description,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
setSuccessData({ title: "Flows exported successfully" });
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleDeleteMultiple = () => {
|
const handleDeleteMultiple = () => {
|
||||||
|
|
@ -185,7 +186,7 @@ export default function ComponentsComponent({
|
||||||
getFolderById(folderId ? folderId : myCollectionId);
|
getFolderById(folderId ? folderId : myCollectionId);
|
||||||
}
|
}
|
||||||
setSuccessData({
|
setSuccessData({
|
||||||
title: "Selected items deleted successfully!",
|
title: "Selected items deleted successfully",
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue