diff --git a/frontend/src/pages/Admin/ToolBox/EventNotification.vue b/frontend/src/pages/Admin/ToolBox/EventNotification.vue index 015273b26..10e111f70 100644 --- a/frontend/src/pages/Admin/ToolBox/EventNotification.vue +++ b/frontend/src/pages/Admin/ToolBox/EventNotification.vue @@ -62,85 +62,46 @@ - - @@ -199,6 +160,22 @@ export default { mounted() { this.getAllNotifications(); }, + computed: { + headers() { + return [ + { text: this.$t("general.type"), value: "type" }, + { text: this.$t("general.name"), value: "name" }, + { text: this.$t("general.general"), value: "general", align: "center" }, + { text: this.$t("general.recipe"), value: "recipe", align: "center" }, + { text: this.$t("events.database"), value: "backup", align: "center" }, + { text: this.$t("events.scheduled"), value: "scheduled", align: "center" }, + { text: this.$t("settings.migrations"), value: "migration", align: "center" }, + { text: this.$t("group.group"), value: "group", align: "center" }, + { text: this.$t("user.user"), value: "user", align: "center" }, + { text: "Actions", align: "center" }, + ]; + }, + }, methods: { getIcon(textValue) { return this.notificationTypes.find(x => x.text === textValue); @@ -228,3 +205,9 @@ export default { }, }; + +