From 3301cfa2fdecb08a2228fe0c634af5b04bd34c1b Mon Sep 17 00:00:00 2001 From: Koen van Staveren Date: Thu, 10 Oct 2024 19:46:25 +0200 Subject: [PATCH] fix: import meta of non custom report widgets (#3626) --- packages/loot-core/src/server/dashboard/app.ts | 2 +- upcoming-release-notes/3626.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/3626.md diff --git a/packages/loot-core/src/server/dashboard/app.ts b/packages/loot-core/src/server/dashboard/app.ts index 2fe1093e8ff..fd00f682609 100644 --- a/packages/loot-core/src/server/dashboard/app.ts +++ b/packages/loot-core/src/server/dashboard/app.ts @@ -194,7 +194,7 @@ async function importDashboard({ filepath }: { filepath: string }) { y: widget.y, meta: isExportedCustomReportWidget(widget) ? { id: widget.meta.id } - : null, + : widget.meta, }), ), diff --git a/upcoming-release-notes/3626.md b/upcoming-release-notes/3626.md new file mode 100644 index 00000000000..0bfb2c0199a --- /dev/null +++ b/upcoming-release-notes/3626.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [UnderKoen] +--- + +Fix importing of non custom reports widgets on the (experimental) reports page.