Browse Source

refactor: show shared url modal once url generated

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/765/head
Pranav C 3 years ago
parent
commit
df15094803
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/spreadsheetNavDrawer.vue

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

@ -762,7 +762,6 @@ export default {
} }
}, },
async genShareLink() { async genShareLink() {
this.showShareModel = true
const sharedViewUrl = await this.$store.dispatch('sqlMgr/ActSqlOp', [ const sharedViewUrl = await this.$store.dispatch('sqlMgr/ActSqlOp', [
{ dbAlias: this.nodes.dbAlias }, { dbAlias: this.nodes.dbAlias },
'createSharedViewLink', 'createSharedViewLink',
@ -788,6 +787,7 @@ export default {
} }
]) ])
this.shareLink = sharedViewUrl this.shareLink = sharedViewUrl
this.showShareModel = true
}, },
copyView(view, i) { copyView(view, i) {
this.createViewType = view.show_as this.createViewType = view.show_as

Loading…
Cancel
Save