mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:27:09 +00:00
Fix bug trying to get project info for undefined
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user