Fix level list

master
Max 5 years ago
parent cb35d79fe2
commit fead28b013

@ -53,7 +53,7 @@ export class ActivityService extends BaseService {
} }
public getLevels() { public getLevels() {
if (this.activitylist.getValue().Actions.length < 1) { if (this.levelList.getValue().levels.length < 1) {
this.http.post(environment.graphQLUrl, ActivityService.buildGetLevelsBody(), {headers: this.headers}) this.http.post(environment.graphQLUrl, ActivityService.buildGetLevelsBody(), {headers: this.headers})
.pipe(this.retryRated()) .pipe(this.retryRated())
.subscribe(result => { .subscribe(result => {

Loading…
Cancel
Save