summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-24 17:35:28 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-01-30 09:41:52 +0100
commitb0edd76af593ff8e1301699d8cc271bf7a7a3b79 (patch)
tree8d4f21c4e1018bf0ef15816dbb4084c9a9126e58
parent560f3a55f0d7e3d948ccbf8d985155f75a350c34 (diff)
downloadnextcloud-server-b0edd76af593ff8e1301699d8cc271bf7a7a3b79.tar.gz
nextcloud-server-b0edd76af593ff8e1301699d8cc271bf7a7a3b79.zip
Give the sharing tab a unique id so it also opens properly on other languages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--apps/files_sharing/src/views/SharingTab.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue
index e77c2591939..4ad7718ce83 100644
--- a/apps/files_sharing/src/views/SharingTab.vue
+++ b/apps/files_sharing/src/views/SharingTab.vue
@@ -21,7 +21,10 @@
-->
<template>
- <Tab :icon="icon" :name="name" :class="{ 'icon-loading': loading }">
+ <Tab :id="id"
+ :icon="icon"
+ :name="name"
+ :class="{ 'icon-loading': loading }">
<!-- error message -->
<div v-if="error" class="emptycontent">
<div class="icon icon-error" />
@@ -151,7 +154,7 @@ export default {
* @returns {string}
*/
id() {
- return this.name.toLowerCase().replace(/ /g, '-')
+ return 'sharing'
},
/**