Skip to content

Commit 5642aba

Browse files
authored
Merge pull request #11 from devforth/AdminForth/779
fix: remove emoji from buttons
2 parents 03990f6 + 414f327 commit 5642aba

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

custom/ImportCsv.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ import Papa from 'papaparse';
5353
import { Dialog } from '@/afcl';
5454
import { useI18n } from 'vue-i18n';
5555
56+
5657
const { t } = useI18n();
5758
5859
const importProgress: Ref<boolean> = ref(false);
@@ -70,9 +71,9 @@ const computedButtons = computed(() => {
7071
const buttons = [
7172
{ label: t('⚠️ Import All — Replace & Overwrite'), onclick: (dialog) => { confirmImport(dialog) }, visible: importStats.value.existingCount > 0 && importStats.value.newCount > 0 },
7273
{ 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() }
74+
{ label: t('Import New Only'), onclick: (dialog) => { confirmImportNewOnly(dialog) }, visible: importStats.value.existingCount > 0 && importStats.value.newCount > 0 },
75+
{ label: t('Import Records'), onclick: (dialog) => { confirmImportNewOnly(dialog) }, visible: importStats.value.existingCount === 0 && importStats.value.newCount > 0 },
76+
{ label: t('Cancel'), onclick: (dialog) => dialog.hide() }
7677
];
7778
7879
return buttons.filter(button => button.visible !== false);

0 commit comments

Comments
 (0)