Browse Source

[fix] shared view copy-to-clipboard path correction

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/679/head
Raju Udava 3 years ago
parent
commit
2b610c1287
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/spreadsheetNavDrawer.vue

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

@ -805,7 +805,7 @@ export default {
this.$toast.info('Copied to clipboard').goAway(1000)
},
copyShareUrlToClipboard() {
this.clipboard(`${this.dashboardUrl}#/nc/${this.shareLink.view_type || 'view'}/${this.shareLink.view_id}`)
this.clipboard(`${this.dashboardUrl}#/nc/${this.shareLink.view_type === 'form' ? 'form' : 'view'}/${this.shareLink.view_id}`)
this.clipboardSuccessHandler()
}
}

Loading…
Cancel
Save