Browse Source

refactor(gui-v2): remove unused import

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2716/head
Pranav C 2 years ago
parent
commit
6ac01b7c10
  1. 1
      packages/nc-gui-v2/components/cell/Attachment.vue
  2. 2
      packages/nc-gui-v2/composables/useViewData.ts

1
packages/nc-gui-v2/components/cell/Attachment.vue

@ -1,5 +1,4 @@
<script setup lang="ts">
import { useNuxt } from '@nuxt/kit'
import { inject, watchEffect } from '@vue/runtime-core'
import type { ColumnType, TableType } from 'nocodb-sdk'
import type { Ref } from 'vue'

2
packages/nc-gui-v2/composables/useViewData.ts

@ -31,7 +31,7 @@ export default (meta: Ref<TableType> | ComputedRef<TableType> | undefined) => {
.map((c) => row[c.title as string])
.join('___') as string
const newData = await $api.dbTableRow.update(
return $api.dbTableRow.update(
'noco',
project?.value.id as string,
meta?.value.id as string,

Loading…
Cancel
Save