From 56c5273206316125f0311566f895ece85c792930 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 8 Dec 2022 10:02:20 +0100 Subject: [PATCH] Allow target="_blank" in app navigation items Which was removed in the Vue rewrite in #33728. This breaks things like https://github.com/nextcloud/external/issues/79 Signed-off-by: Thomas Citharel --- core/src/components/AppMenu.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/components/AppMenu.vue b/core/src/components/AppMenu.vue index f5963b44126..ed3a6293c57 100644 --- a/core/src/components/AppMenu.vue +++ b/core/src/components/AppMenu.vue @@ -31,7 +31,9 @@ :class="{ 'has-unread': app.unread > 0 }" :aria-label="appLabel(app)" :title="app.name" - :aria-current="app.active ? 'page' : false"> + :aria-current="app.active ? 'page' : false" + :target="app.target ? '_blank' : undefined" + :rel="app.target ? 'noopener noreferrer' : undefined">