Skip to content

Commit

Permalink
Give the sharing tab a unique id so it also opens properly on other l…
Browse files Browse the repository at this point in the history
…anguages

Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr authored and skjnldsv committed Jan 28, 2020
1 parent 9bc08dc commit 83d619b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/files_sharing/src/views/SharingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down Expand Up @@ -151,7 +154,7 @@ export default {
* @returns {string}
*/
id() {
return this.name.toLowerCase().replace(/ /g, '-')
return 'sharing'
},
/**
Expand Down

0 comments on commit 83d619b

Please sign in to comment.