From 2ceb872ba5e734869d8874f32fc6c360f7faef8f Mon Sep 17 00:00:00 2001 From: Zer0-bit Date: Tue, 15 Aug 2023 11:42:59 +0100 Subject: [PATCH] probs better than just "profile" --- webserver/web-interface/src/pages/Profiles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver/web-interface/src/pages/Profiles.tsx b/webserver/web-interface/src/pages/Profiles.tsx index a5aa975b..3ccf5e79 100644 --- a/webserver/web-interface/src/pages/Profiles.tsx +++ b/webserver/web-interface/src/pages/Profiles.tsx @@ -363,7 +363,7 @@ function downloadProfileJson(profile: Profile) { const a = document.createElement('a'); a.href = url; - a.download = 'profile.json'; + a.download = `${profile.name}.json`; a.click(); URL.revokeObjectURL(url);