mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-13 21:27:40 +02:00
Fix: showing the wrong alert when updating the team.
This commit is contained in:
@@ -91,6 +91,7 @@
|
||||
"API Token":"API Token",
|
||||
"Webhook":"Webhook",
|
||||
"Teams":"Teams",
|
||||
"Team-update-successfully":"Team Update successfully.",
|
||||
"Users":"Users"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
"API Token":"Jeton API",
|
||||
"Webhook":"Webhook",
|
||||
"Teams":"Équipe",
|
||||
"Team-update-successfully":"Team Update successfully.",
|
||||
"Users":"Utilisateurs"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -203,7 +203,7 @@ const TeamList = () => {
|
||||
const data = { Name: team.Name, TeamId: team.objectId };
|
||||
await Parse.Cloud.run("updateteam", data);
|
||||
// console.log("updateTeamRes ", updateTeamRes);
|
||||
setIsAlert({ type: "success", msg: t("something-went-wrong-mssg") });
|
||||
setIsAlert({ type: "success", msg: t("Team-update-successfully") });
|
||||
} catch (Err) {
|
||||
console.log("Err in update team name"), Err;
|
||||
setIsAlert({ type: "danger", msg: t("something-went-wrong-mssg") });
|
||||
|
||||
Reference in New Issue
Block a user