Fix bug trying to get project info for undefined

This commit is contained in:
D. Berge
2025-08-18 13:51:37 +02:00
parent a320962669
commit 023b65285f

View File

@@ -1,5 +1,10 @@
async function getProject ({commit, dispatch}, projectId) { async function getProject ({commit, dispatch}, projectId) {
if (projectId == null) {
console.log(`Skipping call to getProject${projectId})`);
return;
}
const init = { const init = {
headers: { headers: {
cache: "reload", cache: "reload",