From 60f49efe8ac31eebd3c6cd7a33e53974a64c932e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= <jus@bitgrid.net> Date: Fri, 24 Jan 2020 17:35:28 +0100 Subject: [PATCH] Give the sharing tab a unique id so it also opens properly on other languages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl <jus@bitgrid.net> --- apps/files_sharing/src/views/SharingTab.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue index 4cd61c005c2..2e68377b0b1 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' }, /** -- GitLab