@@ -52,6 +52,8 @@ import adminforth from '@/adminforth';
5252import Papa from ' papaparse' ;
5353import { Dialog } from ' @/afcl' ;
5454import { useI18n } from ' vue-i18n' ;
55+ import { IconCheckOutline , IconCloseOutline } from ' @iconify-prerendered/vue-flowbite' ;
56+
5557
5658const { 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