From f52c804707005999cd5e0e4fd830adbd21fb7d61 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 9 Dec 2024 10:41:43 +0100 Subject: [PATCH] open blank window on notification click --- teleforma/src/js/components/sub/NotificationMessage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/src/js/components/sub/NotificationMessage.vue b/teleforma/src/js/components/sub/NotificationMessage.vue index 7dc51502..9b6c16aa 100644 --- a/teleforma/src/js/components/sub/NotificationMessage.vue +++ b/teleforma/src/js/components/sub/NotificationMessage.vue @@ -33,7 +33,7 @@ export default class NotificationMessage extends NotificationMessageProps { async onClick() { this.setAsViewed() - if (this.$props.url) window.location.href = this.$props.url + if (this.$props.url) window.open(this.$props.url, '_blank'); } async onMiddleClick() { -- 2.39.5