Skip to content

Commit 41584a2

Browse files
committed
fix: remove emoji from buttons
1 parent 03990f6 commit 41584a2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

custom/ImportCsv.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ import adminforth from '@/adminforth';
5252
import Papa from 'papaparse';
5353
import { Dialog } from '@/afcl';
5454
import { useI18n } from 'vue-i18n';
55+
import { IconCheckOutline, IconCloseOutline } from '@iconify-prerendered/vue-flowbite';
56+
5557
5658
const { t } = useI18n();
5759
@@ -70,9 +72,9 @@ const computedButtons = computed(() => {
7072
const buttons = [
7173
{ label: t('⚠️ Import All — Replace & Overwrite'), onclick: (dialog) => { confirmImport(dialog) }, visible: importStats.value.existingCount > 0 && importStats.value.newCount > 0 },
7274
{ label: t('⚠️ Replace Existing Records'), onclick: (dialog) => { confirmImport(dialog) }, visible: importStats.value.existingCount > 0 && importStats.value.newCount === 0 },
73-
{ label: t('Import New Only'), onclick: (dialog) => { confirmImportNewOnly(dialog) }, visible: importStats.value.existingCount > 0 && importStats.value.newCount > 0 },
74-
{ label: t('Import Records'), onclick: (dialog) => { confirmImportNewOnly(dialog) }, visible: importStats.value.existingCount === 0 && importStats.value.newCount > 0 },
75-
{ label: t('Cancel'), onclick: (dialog) => dialog.hide() }
75+
{ label: t('Import New Only'), onclick: (dialog) => { confirmImportNewOnly(dialog) }, visible: importStats.value.existingCount > 0 && importStats.value.newCount > 0 },
76+
{ label: t('Import Records'), onclick: (dialog) => { confirmImportNewOnly(dialog) }, visible: importStats.value.existingCount === 0 && importStats.value.newCount > 0 },
77+
{ label: t('Cancel'), onclick: (dialog) => dialog.hide() }
7678
];
7779
7880
return buttons.filter(button => button.visible !== false);

0 commit comments

Comments
 (0)