From 42109fa4a75cc2a4f53aacd2597f5532111af9e6 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 29 Jul 2022 12:37:11 +0200 Subject: [PATCH] chore(gui-v2): cleanup --- packages/nc-gui-v2/components/cell/Attachment.vue | 4 ++-- .../nc-gui-v2/components/dashboard/TreeView.vue | 13 ++++++------- .../components/dashboard/settings/AppStore.vue | 1 + .../components/smartsheet-header/VirtualCell.vue | 2 +- .../nc-gui-v2/components/smartsheet/Toolbar.vue | 2 -- packages/nc-gui-v2/components/tabs/Smartsheet.vue | 3 +-- .../components/virtual-cell/ManyToMany.vue | 3 ++- packages/nc-gui-v2/pages/index/index.vue | 13 +++++++------ packages/nc-gui-v2/pages/nc/[projectId]/index.vue | 5 +++-- .../nc-gui-v2/pages/nc/[projectId]/index/index.vue | 4 +--- packages/nc-gui-v2/pages/projects/index.vue | 4 +--- packages/nc-gui-v2/pages/projects/index/index.vue | 2 +- packages/nc-gui-v2/pages/projects/index/list.vue | 1 - packages/nc-gui-v2/plugins/i18n.ts | 2 +- packages/nc-gui-v2/plugins/tele.ts | 4 ++-- packages/nc-gui-v2/utils/projectCreateUtils.ts | 2 +- 16 files changed, 30 insertions(+), 35 deletions(-) diff --git a/packages/nc-gui-v2/components/cell/Attachment.vue b/packages/nc-gui-v2/components/cell/Attachment.vue index 4aaa5534bb..52180b6cbb 100644 --- a/packages/nc-gui-v2/components/cell/Attachment.vue +++ b/packages/nc-gui-v2/components/cell/Attachment.vue @@ -3,8 +3,8 @@ import { useToast } from 'vue-toastification' import { inject, ref, useProject, watchEffect } from '#imports' import { useNuxtApp } from '#app' import { ColumnInj, MetaInj } from '~/context' -import { NOCO } from '~/lib/constants' -import { isImage } from '~/utils/fileUtils' +import { NOCO } from '~/lib' +import { isImage } from '~/utils' import MaterialPlusIcon from '~icons/mdi/plus' import MaterialArrowExpandIcon from '~icons/mdi/arrow-expand' diff --git a/packages/nc-gui-v2/components/dashboard/TreeView.vue b/packages/nc-gui-v2/components/dashboard/TreeView.vue index 9c040b6ce1..dbadea1fe1 100644 --- a/packages/nc-gui-v2/components/dashboard/TreeView.vue +++ b/packages/nc-gui-v2/components/dashboard/TreeView.vue @@ -1,15 +1,14 @@ -