Still working on translating....

This commit is contained in:
Donald Zou
2024-09-22 16:33:22 +08:00
parent 94bf1c2484
commit 8534e8cf5b
4 changed files with 25 additions and 12 deletions

View File

@@ -62,7 +62,7 @@ export default {
fetchPost("/api/addPeers/" + this.$route.params.id, this.data, (res) => {
if (res.status){
this.$router.push(`/configuration/${this.$route.params.id}/peers`)
this.dashboardStore.newMessage("Server", "Peer create successfully", "success")
this.dashboardStore.newMessage("Server", "Peer created successfully", "success")
}else{
this.dashboardStore.newMessage("Server", res.message, "danger")
}

View File

@@ -33,7 +33,7 @@ export default {
fetchPost(`/api/updatePeerSettings/${this.$route.params.id}`, this.data, (res) => {
this.saving = false;
if (res.status){
this.dashboardConfigurationStore.newMessage("Server", "Peer Updated!", "success")
this.dashboardConfigurationStore.newMessage("Server", "Peer saved", "success")
}else{
this.dashboardConfigurationStore.newMessage("Server", res.message, "danger")
}