[profile][cards] disable for now, terrible server perf

This commit is contained in:
Andrea 2022-02-25 17:39:05 +01:00
parent 846f1894d3
commit ff7a61c00f
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,7 @@
<Icon v="edit"/>
<T>profile.edit</T>
</nuxt-link>
<template v-if="cardsEnabled">
<a v-if="!cardMenuVisible && !(profile.card === '' || profile.cardDark === '')" href="#" class="list-group-item list-group-item-action list-group-item-hoverable" @click.prevent="cardMenuVisible = true">
<p class="small mb-0">
<Icon v="id-card"/>
@ -70,6 +71,7 @@
</button>
</span>
</div>
</template>
</div>
<div v-if="Object.keys(user.profiles).length > 1" class="list-group list-group-flare my-2 col-12 col-lg-4 col-xxl-12">
@ -157,6 +159,8 @@
terms: [],
cardCheckHandle: null,
cardMenuVisible: false,
cardsEnabled: false,
}
},
async asyncData({ app, route }) {