diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-24 17:35:28 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-01-29 16:44:52 +0100 |
commit | 60f49efe8ac31eebd3c6cd7a33e53974a64c932e (patch) | |
tree | 83724530598086ab4a600aa9ccf24292405d999d /apps/files_sharing/src | |
parent | ca964cfe9fa0c0e5b097e61933d67a45a5fa3b2d (diff) | |
download | nextcloud-server-60f49efe8ac31eebd3c6cd7a33e53974a64c932e.tar.gz nextcloud-server-60f49efe8ac31eebd3c6cd7a33e53974a64c932e.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>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r-- | apps/files_sharing/src/views/SharingTab.vue | 7 |
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' }, /** |