Skip to content

Commit

Permalink
Merge pull request #68 from gdsc-ncku/jason
Browse files Browse the repository at this point in the history
hotfix: disable undefined project name on Schedule page
  • Loading branch information
jason810496 committed Feb 20, 2024
2 parents 4d1cc79 + 655eca3 commit eee5d85
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 eee5d85

Please sign in to comment.