From 6c395cbff42e0583197c994b57af3a63a4d07141 Mon Sep 17 00:00:00 2001 From: carkom Date: Mon, 22 Jan 2024 15:42:57 +0000 Subject: [PATCH] save updates fix --- packages/desktop-client/src/components/reports/SaveReport.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/desktop-client/src/components/reports/SaveReport.tsx b/packages/desktop-client/src/components/reports/SaveReport.tsx index 46921e6eaf0..4ec8942e5d6 100644 --- a/packages/desktop-client/src/components/reports/SaveReport.tsx +++ b/packages/desktop-client/src/components/reports/SaveReport.tsx @@ -70,6 +70,10 @@ export function SaveReport({ } if (menuItem === 'update-report') { + savedReport = { + ...savedReport, + name: report.name, + }; //send update and rename to DB /* res = await sendCatch('report/update', {