Merge remote-tracking branch 'origin/dev' into dev
All checks were successful
Build and Push Docker Images / build-central-services-admin (push) Successful in 35s
Build and Push Docker Images / build-docs (push) Successful in 34s
Build and Push Docker Images / build-backend (push) Successful in 1m0s
Build and Push Docker Images / build-frontend (push) Successful in 2m0s
Build and Push Docker Images / build-website (push) Successful in 37s
Build and Push Docker Images / build-central-services-api (push) Successful in 35s

This commit is contained in:
2026-08-10 15:22:52 +02:00
18 changed files with 1792 additions and 298 deletions

View File

@@ -62,13 +62,19 @@ const setupPage = async () => {
setupPage()
function downloadFile(row) {
async function downloadFile(row) {
const response = await useNuxtApp().$api.raw(row.url, {
method: "GET",
responseType: "blob"
})
const objectUrl = URL.createObjectURL(response._data as Blob)
const a = document.createElement("a")
a.href = row.url
a.href = objectUrl
a.download = row.file_path.split("/").pop()
document.body.appendChild(a)
a.click()
document.body.removeChild(a)
URL.revokeObjectURL(objectUrl)
}
const showCreateExportModal = ref(false)