Browse Source

fix: trigger reload after inserting data

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1137/head
Wing-Kam Wong 3 years ago
parent
commit
0023f6d008
  1. 1
      packages/nc-gui/components/project/spreadsheet/components/moreActions.vue
  2. 1
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

1
packages/nc-gui/components/project/spreadsheet/components/moreActions.vue

@ -289,6 +289,7 @@ export default {
} }
this.columnMappingModal = false this.columnMappingModal = false
this.$store.commit('loader/MutClear') this.$store.commit('loader/MutClear')
this.$emit('reload')
this.$toast.success('Successfully imported table data').goAway(3000) this.$toast.success('Successfully imported table data').goAway(3000)
} catch (e) { } catch (e) {
this.$toast.error(e.message).goAway(3000) this.$toast.error(e.message).goAway(3000)

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

@ -110,6 +110,7 @@
:selected-view="selectedView" :selected-view="selectedView"
@showAdditionalFeatOverlay="showAdditionalFeatOverlay($event)" @showAdditionalFeatOverlay="showAdditionalFeatOverlay($event)"
@webhook="showAdditionalFeatOverlay('webhooks')" @webhook="showAdditionalFeatOverlay('webhooks')"
@reload="reload"
/> />
</div> </div>
<v-spacer class="h-100" @dblclick="debug=true" /> <v-spacer class="h-100" @dblclick="debug=true" />

Loading…
Cancel
Save