From 023b65285f06f2d868b498400655c0e7f127b206 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Mon, 18 Aug 2025 13:51:37 +0200 Subject: [PATCH] Fix bug trying to get project info for `undefined` --- lib/www/client/source/src/store/modules/project/actions.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/www/client/source/src/store/modules/project/actions.js b/lib/www/client/source/src/store/modules/project/actions.js index 7f5143e..342c3b5 100644 --- a/lib/www/client/source/src/store/modules/project/actions.js +++ b/lib/www/client/source/src/store/modules/project/actions.js @@ -1,5 +1,10 @@ async function getProject ({commit, dispatch}, projectId) { + if (projectId == null) { + console.log(`Skipping call to getProject${projectId})`); + return; + } + const init = { headers: { cache: "reload",