diff --git a/packages/nc-gui-v2/components/general/Sponsors.test.ts b/packages/nc-gui-v2/components/general/Sponsors.test.ts index fc3800bf67..967adda867 100644 --- a/packages/nc-gui-v2/components/general/Sponsors.test.ts +++ b/packages/nc-gui-v2/components/general/Sponsors.test.ts @@ -2,7 +2,7 @@ import { mount } from '@vue/test-utils' import { expect, test } from 'vitest' import Sponsors from './Sponsors.vue' import { createVuetifyPlugin } from '~/plugins/vuetify' -import { createI18nPlugin } from '~/plugins/i18n' +import { createI18nPlugin } from '~/plugins/a.i18n' const mountComponent = async (nav: boolean) => { const vuetify = createVuetifyPlugin() diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue index 615439ff9e..bd45f04b3b 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue @@ -3,9 +3,9 @@ import { ExportTypes } from 'nocodb-sdk' import { useToast } from 'vue-toastification' import FileSaver from 'file-saver' import { useNuxtApp } from '#app' -import useProject from '~/composables/useProject' +import { useProject } from '#imports' import { ActiveViewInj, MetaInj } from '~/context' -import { extractSdkResponseErrorMsg } from '~/utils/errorUtils' +import { extractSdkResponseErrorMsg } from '~/utils' import MdiFlashIcon from '~icons/mdi/flash-outline' import MdiMenuDownIcon from '~icons/mdi/menu-down' import MdiDownloadIcon from '~icons/mdi/download-outline' @@ -80,7 +80,7 @@ const exportCsv = async () => { toast.success('Successfully exported all table data') } } - } catch (e) { + } catch (e: any) { toast.error(extractSdkResponseErrorMsg(e)) } } diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/SortListMenu.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/SortListMenu.vue index b79eadfbe6..6756d328e8 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/SortListMenu.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/SortListMenu.vue @@ -1,8 +1,7 @@