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:
parent
560f3a55f0
commit
b0edd76af5
1 changed files with 5 additions and 2 deletions
|
@ -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'
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue