Skip to content

Commit

Permalink
Update course list after creatin and deletion (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
jggoebel authored Oct 26, 2022
1 parent 549fe72 commit c604786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/course/course.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class CourseComponent implements OnInit {
}

refresh(): void {
this.courseService.list()
this.courseService.list(true)
.subscribe(
(cList: Course[]) => this.courses = cList
)
Expand Down

0 comments on commit c604786

Please sign in to comment.