diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-01-05 10:09:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 10:09:50 +0100 |
commit | 4694287410f2b6a06b05ff55308b63474f8cebec (patch) | |
tree | a6fd86e8007d4430dd60c0558ef7c215ab52cac4 /core | |
parent | c255735f834d42c4e927ad511a0d3946383be7e4 (diff) | |
parent | 06a711e7129ae8f3d439d8fb269082d369cd4ce4 (diff) | |
download | nextcloud-server-4694287410f2b6a06b05ff55308b63474f8cebec.tar.gz nextcloud-server-4694287410f2b6a06b05ff55308b63474f8cebec.zip |
Merge pull request #36007 from nextcloud/backport/35667/stable25
[stable25] Allow target="_blank" in app navigation items
Diffstat (limited to 'core')
-rw-r--r-- | core/src/components/AppMenu.vue | 4 |
1 files changed, 3 insertions, 1 deletions
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"> <img :src="app.icon" alt=""> <div class="app-menu-entry--label"> {{ app.name }} |