use key prop instead of dataset to identify active tab
This commit is contained in:
parent
cd14566a34
commit
df3e80b7c3
5 changed files with 11 additions and 17 deletions
|
@ -10,18 +10,15 @@
|
|||
:on-switch="onModeSwitch"
|
||||
>
|
||||
<span
|
||||
data-tab-dummy
|
||||
data-filter="mentions"
|
||||
key="mentions"
|
||||
:label="$t('nav.mentions')"
|
||||
/>
|
||||
<span
|
||||
data-tab-dummy
|
||||
data-filter="likes+repeats"
|
||||
key="likes+repeats"
|
||||
:label="$t('interactions.favs_repeats')"
|
||||
/>
|
||||
<span
|
||||
data-tab-dummy
|
||||
data-filter="follows"
|
||||
key="follows"
|
||||
:label="$t('interactions.follows')"
|
||||
/>
|
||||
</tab-switcher>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue