Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-24 19:35:28 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-01-29 18:44:52 +0300
commit60f49efe8ac31eebd3c6cd7a33e53974a64c932e (patch)
tree83724530598086ab4a600aa9ccf24292405d999d /apps/files_sharing/src/views/SharingTab.vue
parentca964cfe9fa0c0e5b097e61933d67a45a5fa3b2d (diff)
Give the sharing tab a unique id so it also opens properly on other languages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/src/views/SharingTab.vue')
-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 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'
},
/**