From 7328fd1e8ae95f07720be50828b91a3b94194528 Mon Sep 17 00:00:00 2001 From: Maurits Lourens Date: Mon, 6 Sep 2021 12:07:05 +0200 Subject: [PATCH] fix exporting internal tables --- .../components/backend/DataTable/modals/ExportModal.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/modals/ExportModal.svelte b/packages/builder/src/components/backend/DataTable/modals/ExportModal.svelte index 0b63c0bd4d..740027a8fd 100644 --- a/packages/builder/src/components/backend/DataTable/modals/ExportModal.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/ExportModal.svelte @@ -18,12 +18,10 @@ let exportFormat = FORMATS[0].key async function exportView() { - const filename = `export.${exportFormat}` download( `/api/views/export?view=${encodeURIComponent( view - )}&format=${exportFormat}`, - filename + )}&format=${exportFormat}` ) }