Browse Source

fix(gui): remove table from navigation drawer once deleted

re #535

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/559/head
Pranav C 3 years ago
parent
commit
22a1e5e48b
  1. 2
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue
  2. 8
      packages/nc-gui/components/project/table.vue

2
packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

@ -736,7 +736,7 @@ export default {
...this.nodes ...this.nodes
} }
}) })
delete this.nodes.newTable // delete this.nodes.newTable
} }
this.loadViews = true this.loadViews = true

8
packages/nc-gui/components/project/table.vue

@ -416,6 +416,10 @@
<script> <script>
import { mapGetters, mapActions } from 'vuex' import { mapGetters, mapActions } from 'vuex'
import dlgLabelSubmitCancel from '../utils/dlgLabelSubmitCancel'
import columnList from './tableTabs/columns'
import indexList from './tableTabs/indexes'
import triggerList from './tableTabs/triggers'
import { isMetaTable } from '@/helpers/xutils' import { isMetaTable } from '@/helpers/xutils'
import Webhooks from '@/components/project/tableTabs/webhooks' import Webhooks from '@/components/project/tableTabs/webhooks'
import LogicRest from '@/components/project/tableTabs/logicRest' import LogicRest from '@/components/project/tableTabs/logicRest'
@ -424,11 +428,7 @@ import LogicGrpc from '@/components/project/tableTabs/logicGrpc'
import Validation from '@/components/project/tableTabs/validation' import Validation from '@/components/project/tableTabs/validation'
import TableAcl from '@/components/project/tableTabs/tableAcl' import TableAcl from '@/components/project/tableTabs/tableAcl'
import RowsXcDataTable from '@/components/project/spreadsheet/rowsXcDataTable' import RowsXcDataTable from '@/components/project/spreadsheet/rowsXcDataTable'
import dlgLabelSubmitCancel from '../utils/dlgLabelSubmitCancel'
// import TrialExpired from '../trialExpired' // import TrialExpired from '../trialExpired'
import columnList from './tableTabs/columns'
import indexList from './tableTabs/indexes'
import triggerList from './tableTabs/triggers'
// import rows from './tableTabs/rows' // import rows from './tableTabs/rows'
// import AclGql from './tableTabs/aclGql' // import AclGql from './tableTabs/aclGql'

Loading…
Cancel
Save