Skip to content

Commit

Permalink
Merge pull request #30 from wlfrdssn/Name-new-course
Browse files Browse the repository at this point in the history
Name new course
  • Loading branch information
perliedman authored Dec 29, 2024
2 parents b92e087 + ebaf23d commit 52f41f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Courses.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function Courses() {
newCourse(
Course.create(
null,
"New course",
"Course " + courses.length,
[],
selectedCourse.printScale,
"normal"
Expand Down
2 changes: 1 addition & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ function createNewEvent(state?: EventState): EventState {

Event.addCourse(
event,
Course.create(event.idGenerator.next(), "New course", [], scale, "normal")
Course.create(event.idGenerator.next(), "Course 1", [], scale, "normal")
);

return {
Expand Down

0 comments on commit 52f41f6

Please sign in to comment.