Give the sharing tab a unique id so it also opens properly on other languages

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-01-24 17:35:28 +01:00 committed by John Molakvoæ (skjnldsv)
parent ca964cfe9f
commit 60f49efe8a
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 5 additions and 2 deletions

View File

@ -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'
},
/**