1
0
Fork 0
mirror of synced 2024-10-03 02:27:06 +13:00

Merge pull request #2549 from mslourens/fix_export_internal_tables

fix exporting internal tables
This commit is contained in:
Martin McKeaveney 2021-09-06 11:40:34 +01:00 committed by GitHub
commit e5b6748c7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,12 +18,10 @@
let exportFormat = FORMATS[0].key let exportFormat = FORMATS[0].key
async function exportView() { async function exportView() {
const filename = `export.${exportFormat}`
download( download(
`/api/views/export?view=${encodeURIComponent( `/api/views/export?view=${encodeURIComponent(
view view
)}&format=${exportFormat}`, )}&format=${exportFormat}`
filename
) )
} }
</script> </script>