From a0660e7a409f2cbc45cbb33b4195c360793b5fc2 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 18 Mar 2026 22:04:42 +0100 Subject: [PATCH] fix: use api.exportZip/Json instead of window.open SettingsPage was still calling window.open() directly, bypassing the auth-enabled fetch methods in api.js. Changed buttons to use api.exportZip() and api.exportJson() which properly include authentication headers. Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/SettingsPage.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/SettingsPage.jsx b/frontend/src/pages/SettingsPage.jsx index 27e5b23..2c9ba3f 100644 --- a/frontend/src/pages/SettingsPage.jsx +++ b/frontend/src/pages/SettingsPage.jsx @@ -291,12 +291,12 @@ export default function SettingsPage() { )} {canExport && <>