Browse Source

fix/export fix shared view

pull/3083/head
Muhammed Mustafa 2 years ago
parent
commit
f1f33b5a24
  1. 3
      packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue

3
packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue

@ -53,7 +53,8 @@ const exportFile = async (exportType: ExportTypes) => {
while (!isNaN(offset) && offset > -1) { while (!isNaN(offset) && offset > -1) {
let res let res
if (isPublicView.value) { if (isPublicView.value) {
res = await exportFile(fields.value, offset, exportType, responseType) const { exportFile: sharedViewExportFile } = useSharedView()
res = await sharedViewExportFile(fields.value, offset, exportType, responseType)
} else { } else {
res = await $api.dbViewRow.export( res = await $api.dbViewRow.export(
'noco', 'noco',

Loading…
Cancel
Save