Browse Source

fix(gui-v2): render DlgTableCreate only when DlgTableCreate is true

pull/2885/head
Wing-Kam Wong 2 years ago
parent
commit
4213ad4acf
  1. 2
      packages/nc-gui-v2/components/dashboard/TreeView.vue

2
packages/nc-gui-v2/components/dashboard/TreeView.vue

@ -297,7 +297,7 @@ const addTableTab = (table: TableType) => {
</div> </div>
<SettingsModal :show="settingsDlg" @closed="settingsDlg = false" /> <SettingsModal :show="settingsDlg" @closed="settingsDlg = false" />
<DlgTableCreate v-model="tableCreateDlg" /> <DlgTableCreate v-if="tableCreateDlg" v-model="tableCreateDlg" />
<DlgTableRename v-if="renameTableMeta" v-model="renameTableDlg" :table-meta="renameTableMeta" /> <DlgTableRename v-if="renameTableMeta" v-model="renameTableDlg" :table-meta="renameTableMeta" />
</div> </div>
</template> </template>

Loading…
Cancel
Save