From 2e065644404cd49eaa09dff55397f58e5a7d79b3 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:19:04 +0000 Subject: [PATCH] fix(nc-gui): select 1st table by default in upload csv extension --- packages/nc-gui/assets/nc-icons/file-big.svg | 7 +++++++ packages/nc-gui/composables/useExtensions.ts | 6 +++--- packages/nc-gui/utils/iconUtils.ts | 2 ++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 packages/nc-gui/assets/nc-icons/file-big.svg diff --git a/packages/nc-gui/assets/nc-icons/file-big.svg b/packages/nc-gui/assets/nc-icons/file-big.svg new file mode 100644 index 0000000000..aac122e20a --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/file-big.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/packages/nc-gui/composables/useExtensions.ts b/packages/nc-gui/composables/useExtensions.ts index bd10a15b4e..9a362e8f48 100644 --- a/packages/nc-gui/composables/useExtensions.ts +++ b/packages/nc-gui/composables/useExtensions.ts @@ -412,9 +412,9 @@ export const useExtensions = createSharedComposable(() => { console.error('Error loading extensions:', error) } - // if (isEeUI) { - // extensionsEgg.value = true - // } + if (isEeUI) { + extensionsEgg.value = true + } }) watch( diff --git a/packages/nc-gui/utils/iconUtils.ts b/packages/nc-gui/utils/iconUtils.ts index 224ab2dec1..3259967f1c 100644 --- a/packages/nc-gui/utils/iconUtils.ts +++ b/packages/nc-gui/utils/iconUtils.ts @@ -196,6 +196,7 @@ import NcReddit from '~icons/nc-icons/reddit' import NcTwitter from '~icons/nc-icons/twitter' import NcFile from '~icons/nc-icons/file' +import NcFileBig from '~icons/nc-icons/file-big' import NcSettings from '~icons/nc-icons/settings' import NcHelp from '~icons/nc-icons/help' import NcAlertTriangle from '~icons/nc-icons/alert-triangle' @@ -985,6 +986,7 @@ export const iconMap = { ncReddit: NcReddit, ncTwitter: NcTwitter, file: NcFile, + fileBig: NcFileBig, ncSettings: NcSettings, ncHelp: NcHelp, puzzle: MdiPuzzle,