Skip to content

Commit

Permalink
hotfix: disable undefined project name on Schedule page
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 committed Feb 20, 2024
1 parent 4d1cc79 commit 655eca3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/views/info/Schedule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,13 @@ onBeforeMount(() => {
// console.log(item.project);
// console.log(eventDict.value[item.date]);
// console.log(eventDict.value[item.date][item.project]);
eventDict.value[item.date][item.project].push(item);
if (eventDict.value[item.date][item.project] == undefined){
console.log(`eventDict.value[${item.date}][${item.project}] is undefined`);
}
else{
eventDict.value[item.date][item.project].push(item);
}
});
// sort event by date & start time
Expand Down

0 comments on commit 655eca3

Please sign in to comment.