Browse Source

chore(nc-gui): remove icon imports

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
a8d86acca6
  1. 6
      packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

6
packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

@ -49,9 +49,9 @@ const allowCSVDownload = computed({
})
const genShareLink = async () => {
if (!view.value.id) return
if (!view.value?.id) return
shared.value = await $api.dbViewShare.create(view.value?.id)
shared.value = await $api.dbViewShare.create(view.value.id)
shared.value.meta =
shared.value.meta && typeof shared.value.meta === 'string' ? JSON.parse(shared.value.meta) : shared.value.meta
@ -75,7 +75,7 @@ const sharedViewUrl = computed(() => {
viewType = 'view'
}
return `${dashboardUrl?.value}#/nc/${viewType}/${shared.value.uuid}${surveyMode.value ? '?survey=1' : ''}`
return `${dashboardUrl?.value}#/nc/${surveyMode.value ? 'survey' : ''}${viewType}/${shared.value.uuid}`
})
async function saveAllowCSVDownload() {

Loading…
Cancel
Save