add cell confirm_mail, mail icon in Usertabel Usersearch

This commit is contained in:
ogerly 2021-12-19 11:59:37 +01:00
parent fe6f093847
commit cfc502593d
2 changed files with 7 additions and 0 deletions

View File

@ -55,6 +55,12 @@
</b-button>
</template>
<template #cell(confirm_mail)="row">
<b-button :variant="row.item.firstName === 'Peter' ? 'success' : 'danger' " size="md" @click="row.toggleDetails" class="mr-2">
<b-icon :icon="row.item.firstName === 'Peter' ? 'envelope-open' : 'envelope' " aria-label="Help"></b-icon>
</b-button>
</template>
<template #row-details="row">
<b-card class="shadow-lg p-3 mb-5 bg-white rounded">
<b-row class="mb-2">

View File

@ -40,6 +40,7 @@ export default {
},
},
{ key: 'show_details', label: 'Details' },
{ key: 'confirm_mail', label: 'Mail' },
],
searchResult: [],
massCreation: [],