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 560f3a55f0
commit b0edd76af5
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

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