From 695225dfeb841e49a84f56ce979bc4a7e336bc5d Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Fri, 29 Mar 2024 11:30:04 +0100 Subject: [PATCH] Update src/components/notifications/Cellsynt.vue Co-authored-by: Frank Elsinga --- src/components/notifications/Cellsynt.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/notifications/Cellsynt.vue b/src/components/notifications/Cellsynt.vue index 79d44fae..2e8a6de7 100644 --- a/src/components/notifications/Cellsynt.vue +++ b/src/components/notifications/Cellsynt.vue @@ -47,12 +47,8 @@ export default { HiddenInput }, mounted() { - if (typeof this.$parent.notification.cellsyntOriginatortype === "undefined" || this.$parent.notification.cellsyntOriginatortype === "") { - this.$parent.notification.cellsyntOriginatortype = "alpha"; - } - if (typeof this.$parent.notification.cellsyntOriginator === "undefined" || this.$parent.notification.cellsyntOriginator === "") { - this.$parent.notification.cellsyntOriginator = "uptimekuma"; - } + this.$parent.notification.cellsyntOriginatortype ||= "alpha"; + this.$parent.notification.cellsyntOriginator ||= "uptimekuma"; } };