From 7b67b4afc951a18f8438125698bb7fd21364aba4 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",