minor fixes (missing commas, spaces, translations)

This commit is contained in:
Karel Krýda
2022-01-23 20:33:39 +01:00
parent 0d3414c6d6
commit 5fda1f0f59
7 changed files with 29 additions and 14 deletions

View File

@@ -114,16 +114,15 @@ export default {
},
titlePlaceholder() {
return this.$t("Network infrastructure maintenance");
return this.$t("maintenanceTitleExample");
},
descriptionPlaceholder() {
return this.$t("Example: Network infrastructure maintenance is underway which will affect some of our services.");
return this.$t("maintenanceDescriptionExample");
}
},
watch: {
"$route.fullPath"() {
this.init();
}
@@ -137,7 +136,7 @@ export default {
Object.values(this.$root.monitorList).map(monitor => {
this.affectedMonitorsOptions.push({
id: monitor.id,
name: monitor.name
name: monitor.name,
});
});
}
@@ -173,14 +172,13 @@ export default {
}
});
}
},
async submit() {
this.processing = true;
if (this.affectedMonitors.length === 0) {
toast.error(this.$t("Select at least one affected monitor"));
toast.error(this.$t("atLeastOneMonitor"));
return this.processing = false;
}