Browse Source

added line breaks

pull/5164/head
Semjon Geist 2 years ago
parent
commit
c6e240f514
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue

2
packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue

@ -43,8 +43,10 @@ const showApiSnippetDrawer = ref(false)
const showErd = ref(false) const showErd = ref(false)
type QuickImportDialogType = 'csv' | 'excel' | 'json' type QuickImportDialogType = 'csv' | 'excel' | 'json'
// TODO: add 'json' when it's ready // TODO: add 'json' when it's ready
const quickImportDialogTypes: QuickImportDialogType[] = ['csv', 'excel'] const quickImportDialogTypes: QuickImportDialogType[] = ['csv', 'excel']
const quickImportDialogs: Record<typeof quickImportDialogTypes[number], Ref<boolean>> = quickImportDialogTypes.reduce( const quickImportDialogs: Record<typeof quickImportDialogTypes[number], Ref<boolean>> = quickImportDialogTypes.reduce(
(acc: any, curr) => { (acc: any, curr) => {
acc[curr] = ref(false) acc[curr] = ref(false)

Loading…
Cancel
Save