From: Guillaume Pellerin Date: Mon, 9 Dec 2024 09:41:43 +0000 (+0100) Subject: open blank window on notification click X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f52c804707005999cd5e0e4fd830adbd21fb7d61;p=teleforma.git open blank window on notification click --- 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() {