|
58 | 58 | </template> |
59 | 59 | <template #header> |
60 | 60 | <div class="flex items-center gap-1"> |
61 | | - <div class="flex items-center gap-1"> |
62 | | - <Button |
63 | | - id="export-csv" |
64 | | - v-tooltip.top=" |
65 | | - isExportDisabled && |
66 | | - t('select_at_least_one_contact', { action: t('export') }) |
67 | | - " |
68 | | - icon="pi pi-external-link" |
69 | | - :label="$screenStore.size.md ? t('export_csv') : undefined" |
70 | | - :disabled="isExportDisabled" |
71 | | - @click="exportTable()" |
72 | | - /> |
73 | | - <div |
74 | | - v-tooltip.top=" |
75 | | - (isExportDisabled || !selectedContactsLength) && |
76 | | - t('select_at_least_one_contact', { action: t('remove') }) |
77 | | - " |
78 | | - > |
79 | | - <RemoveContactButton |
80 | | - :contacts-to-delete="contactsToTreat" |
81 | | - :contacts-to-delete-length="selectedContactsLength" |
82 | | - :is-remove-disabled="isExportDisabled || !selectedContactsLength" |
83 | | - :deselect-contacts="deselectContacts" |
84 | | - /> |
85 | | - </div> |
86 | | - </div> |
87 | | - <div> |
88 | | - <EnrichButton |
89 | | - source="datatable" |
90 | | - :enrichment-realtime-callback="emptyFunction" |
91 | | - :enrichment-request-response-callback="emptyFunction" |
92 | | - :contacts-to-enrich="implicitlySelectedContacts" |
93 | | - :enrich-all-contacts="$contactsStore.selectedEmails === undefined" |
| 61 | + <EnrichButton |
| 62 | + source="datatable" |
| 63 | + :enrichment-realtime-callback="emptyFunction" |
| 64 | + :enrichment-request-response-callback="emptyFunction" |
| 65 | + :contacts-to-enrich="implicitlySelectedContacts" |
| 66 | + :enrich-all-contacts="$contactsStore.selectedEmails === undefined" |
| 67 | + /> |
| 68 | + <Button |
| 69 | + id="export-csv" |
| 70 | + v-tooltip.top=" |
| 71 | + isExportDisabled && |
| 72 | + t('select_at_least_one_contact', { action: t('export') }) |
| 73 | + " |
| 74 | + icon="pi pi-external-link" |
| 75 | + :label="$screenStore.size.md ? t('export_csv') : undefined" |
| 76 | + :disabled="isExportDisabled" |
| 77 | + @click="exportTable()" |
| 78 | + /> |
| 79 | + <div |
| 80 | + v-tooltip.top=" |
| 81 | + (isExportDisabled || !selectedContactsLength) && |
| 82 | + t('select_at_least_one_contact', { action: t('remove') }) |
| 83 | + " |
| 84 | + > |
| 85 | + <RemoveContactButton |
| 86 | + :contacts-to-delete="contactsToTreat" |
| 87 | + :contacts-to-delete-length="selectedContactsLength" |
| 88 | + :is-remove-disabled="isExportDisabled || !selectedContactsLength" |
| 89 | + :deselect-contacts="deselectContacts" |
94 | 90 | /> |
95 | 91 | </div> |
96 | 92 | <div class="ml-2"> |
|
0 commit comments