Loading src/app/components/component-detail/component-detail.component.ts +5 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,11 @@ export class ComponentDetailComponent implements OnInit, OnDestroy { }); } resetForm() { this.updateFormData.reset(); this.initFormValues(); } updateComponent() { if (this.updateFormData.status !== 'VALID') { console.warn('[COMPONENT] Invalid form submitted', this.updateFormData); Loading src/app/courses/roles/role-detail/role-detail.component.html +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ <div> <a routerLinkActive="active" [routerLink]="['/courses/' + role?.course.id]">Parent course ({{role?.course?.codename}})</a> <a routerLinkActive="active" [routerLink]="['/courses/' + group?.course.id + '/roles']"> <a routerLinkActive="active" [routerLink]="['/courses/' + role?.course.id + '/roles']"> Roles list </a> </div> Loading Loading
src/app/components/component-detail/component-detail.component.ts +5 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,11 @@ export class ComponentDetailComponent implements OnInit, OnDestroy { }); } resetForm() { this.updateFormData.reset(); this.initFormValues(); } updateComponent() { if (this.updateFormData.status !== 'VALID') { console.warn('[COMPONENT] Invalid form submitted', this.updateFormData); Loading
src/app/courses/roles/role-detail/role-detail.component.html +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ <div> <a routerLinkActive="active" [routerLink]="['/courses/' + role?.course.id]">Parent course ({{role?.course?.codename}})</a> <a routerLinkActive="active" [routerLink]="['/courses/' + group?.course.id + '/roles']"> <a routerLinkActive="active" [routerLink]="['/courses/' + role?.course.id + '/roles']"> Roles list </a> </div> Loading