fix: disable locked tabs

This commit is contained in:
pskfyi 2022-01-13 23:00:50 -08:00 committed by pskfyi
parent 5029bb70fb
commit 3f1a6140a2
1 changed files with 1 additions and 0 deletions

View File

@ -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" />