fix exporting internal tables

This commit is contained in:
Maurits Lourens 2021-09-06 12:07:05 +02:00
parent d374d25393
commit 7328fd1e8a
1 changed files with 1 additions and 3 deletions

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>