[Trunk | Connect]: subjects.component.ts: When error in getting subjects occurs, set loading to false.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59481 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
90392fc79a
commit
b0509c2399
|
@ -107,7 +107,11 @@ export class SubjectsComponent {
|
|||
this.subjects = community.subjects;
|
||||
this.showLoading = false;
|
||||
HelperFunctions.scroll();
|
||||
}));
|
||||
},
|
||||
error => {
|
||||
console.error("Subjects Component: Error getting subjects for community with id: " + this.communityId, error);
|
||||
this.showLoading = false;
|
||||
} ));
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue