add check for hasElopage in adminarea in usersearch list

This commit is contained in:
ogerly 2022-02-03 11:40:04 +01:00
parent 437a431a8d
commit f814267445
2 changed files with 9 additions and 0 deletions

View File

@ -72,6 +72,14 @@
</b-button>
</template>
<template #cell(has_elopage)="row">
<b-button :variant="row.item.hasElopage ? 'success' : 'danger'" size="md" class="mr-2">
<b-icon
:icon="row.item.hasElopage ? 'arrow-up-short' : 'exclamation-triangle-fill'"
></b-icon>
</b-button>
</template>
<template #cell(transactions_list)="row">
<b-button variant="warning" size="md" @click="rowToogleDetails(row, 2)" class="mr-2">
<b-icon icon="list"></b-icon>

View File

@ -111,6 +111,7 @@ export default {
},
{ key: 'show_details', label: this.$t('details') },
{ key: 'confirm_mail', label: this.$t('confirmed') },
{ key: 'has_elopage', label: 'elopage' },
{ key: 'transactions_list', label: this.$t('transaction') },
]
},