Skip to content

Commit

Permalink
record argfument error
Browse files Browse the repository at this point in the history
  • Loading branch information
as6325400 committed Jul 6, 2024
1 parent 8ff95d9 commit 479ca1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/functions/course_add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ export function push_to_table(mode: Number, item: any) {
return false;
}
} else if (mode == 2) {
recordcourse(item);
recordcourse(
item,
store.state.course.selectedYear,
store.state.course.selectedSemester,
);
let time = splittime(item.class_time);
let data = [];
let Uuid = uuidv4();
Expand Down
1 change: 0 additions & 1 deletion src/functions/rowspanizer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import store from "../store";
import { Course } from "./general.ts";
import _ from "lodash";
import { v4 as uuidv4 } from "uuid";
Expand Down

0 comments on commit 479ca1e

Please sign in to comment.