Merge branch 'max_dev' of Software_Engineering_I/greenvironment-frontend into master

master
Max_ES 5 years ago committed by Gitea
commit 1ed230aaad

@ -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