chore: cleanup unused code
This commit is contained in:
parent
29d2120184
commit
f0fb7a5981
6 changed files with 5 additions and 229 deletions
|
|
@ -1,29 +1,18 @@
|
|||
<template>
|
||||
<nuxt-link
|
||||
class="tab flex-grow text-center text-2xl font-semibold py-1 cursor-pointer rounded-tl-lg rounded-tr-lg"
|
||||
:class="[colorClasses, index < 5 && 'mr-px', active && 'active']"
|
||||
class="text-center text-2xl py-1 cursor-pointer rounded-t-lg"
|
||||
:class="[colorClasses, { active }]"
|
||||
:to="tabData.route"
|
||||
>
|
||||
<template v-if="!tabData.locked">
|
||||
<span :class="tabData.label" />
|
||||
</template>
|
||||
<template v-if="tabData.locked">
|
||||
<span class="fas fa-lock" />
|
||||
</template>
|
||||
<span v-if="!tabData.locked" :class="tabData.label" />
|
||||
<span v-else class="fas fa-lock" />
|
||||
</nuxt-link>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
index: {
|
||||
type: Number,
|
||||
required: true,
|
||||
},
|
||||
tabData: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
tabData: { type: Object, required: true },
|
||||
},
|
||||
computed: {
|
||||
active() {
|
||||
|
|
|
|||
Reference in a new issue