Browse Source

chore/pr comments included

pull/3237/head
Muhammed Mustafa 2 years ago
parent
commit
086a9adbd8
  1. 4
      packages/nc-gui-v2/composables/useTable.ts

4
packages/nc-gui-v2/composables/useTable.ts

@ -6,10 +6,10 @@ import { TabType } from '~/composables/useTabs'
import { SYSTEM_COLUMNS, extractSdkResponseErrorMsg, useProject } from '#imports' import { SYSTEM_COLUMNS, extractSdkResponseErrorMsg, useProject } from '#imports'
export function useTable(onTableCreate?: (tableMeta: TableType) => void) { export function useTable(onTableCreate?: (tableMeta: TableType) => void) {
const table = reactive<{ title: string; table_name: string; columns: string[]; columnsToggleInfo: Record<string, boolean> }>({ const table = reactive<{ title: string; table_name: string; columns: string[] }>({
title: '', title: '',
table_name: '', table_name: '',
columns: [...SYSTEM_COLUMNS], columns: SYSTEM_COLUMNS,
}) })
const { $e, $api } = useNuxtApp() const { $e, $api } = useNuxtApp()

Loading…
Cancel
Save