From 50cf8e6f7842a5639c2ae5c7da29ac72c1f471d3 Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Wed, 17 Jan 2024 13:16:19 +0000 Subject: [PATCH] Generate zip files before download Previously, zip files were only downloaded if they already existed. Now, they are created with an action, then downloaded from the result. Chrome now insists on downloading the files as `output.zip`, I can't see why this has changed, but perhaps it's related to the security warning. This seems to be specific to zip files. --- .../tabContentComponents/scanListContent.vue | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/webapp/src/components/tabContentComponents/scanListContent.vue b/webapp/src/components/tabContentComponents/scanListContent.vue index 2f22165a..0864405b 100644 --- a/webapp/src/components/tabContentComponents/scanListContent.vue +++ b/webapp/src/components/tabContentComponents/scanListContent.vue @@ -42,13 +42,15 @@

{{ item.name }}

- - Download images - + @@ -73,9 +75,11 @@