Skip to content

Commit

Permalink
fix: untrack data.csv and add OtherCourses display condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Xecades committed Jan 31, 2024
1 parent 024ade0 commit e6756a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 480 deletions.
3 changes: 2 additions & 1 deletion src/assets/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ function parseCourses(cs) {
}

let len = ret.length;
ret[len - 1].children.push(otherC);
if (!ret[len - 1].children.find((c) => c.value == "其他课程"))
ret[len - 1].children.push(otherC);
return ret;
}

Expand Down
Loading

0 comments on commit e6756a9

Please sign in to comment.