fix: disable locked tabs
This commit is contained in:
parent
5029bb70fb
commit
3f1a6140a2
|
@ -3,6 +3,7 @@
|
|||
class="text-center text-2xl py-1 cursor-pointer rounded-t-lg"
|
||||
:class="[colorClasses, { active }]"
|
||||
:to="tabData.route"
|
||||
:event="!tabData.unlocked ? '' : 'click'"
|
||||
>
|
||||
<span v-if="tabData.unlocked" :class="tabData.label" />
|
||||
<span v-else class="fas fa-lock" />
|
||||
|
|
Reference in New Issue