extract success toast message strings
This commit is contained in:
1 parent
ced3ad1757
commit
139ae00613
2 files changed
+3
-1
No files matched your search
@@ -199,7 +199,7 @@ const CreateInfrastructureMonitor = () => {
|
||||
: await dispatch(updateInfrastructureMonitor({ monitorId, monitor: form }));
|
||||
if (action.meta.requestStatus === "fulfilled") {
|
||||
createToast({
|
||||
body: isCreate ? "Infrastructure monitor created successfully!" : "Infrastructure monitor updated successfully!",
|
||||
body: isCreate ? t("infrastructureMonitorCreated") : t("infrastructureMonitorUpdated"),
|
||||
});
|
||||
navigate("/infrastructure");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user