1
0
Fork 0
mirror of synced 2024-07-08 07:46:10 +12:00

fix exporting internal tables

This commit is contained in:
Maurits Lourens 2021-09-06 12:07:05 +02:00
parent d374d25393
commit 7328fd1e8a

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>