minor changes

parent 7fdf78f9
......@@ -480,7 +480,7 @@ class EpalUsers extends ContentEntityBase implements EpalUsersInterface {
'text_processing' => 0,
))
->setRequired(TRUE)
->setDefaultValue(0)
->setDefaultValue(1)
->setDisplayOptions('view', array(
'label' => 'above',
'type' => 'string',
......@@ -702,4 +702,4 @@ class EpalUsers extends ContentEntityBase implements EpalUsersInterface {
return $fields;
}
}
\ No newline at end of file
}
......@@ -466,8 +466,6 @@ import { HelperDataService } from "../../services/helper-data-service";
this.StudentInfoSub = this._hds.getStudentPerSchool(this.taxi, this.sector, this.special)
.subscribe(data => {
this.StudentInfo$.next(data);
//console.log("Here!");
//console.log( this.StudentInfo$);
this.retrievedStudent.next(true);
this.showLoader.next(false);
},
......@@ -482,7 +480,6 @@ import { HelperDataService } from "../../services/helper-data-service";
}
});
}).catch(err => {
console.log("Here!");
console.log(err);
this.showErrorModal();
this.showLoader.next(false);
......
This diff is collapsed.
......@@ -345,16 +345,10 @@ import { StudentCourseChosen, StudentEpalChosen, StudentSectorChosen } from "../
if (this.classSelected === this.previousClass.getValue() && this.sectorSelectedName === this.previousSector.getValue() && this.courseSelectedName === this.previousCourse.getValue()) {
//for (let entry of this.epalSelectedName) {
for (let i=0; i < this.epalSelectedName.length; i++) {
console.log("New message!");
if (this.previousSchools.getValue().indexOf(this.epalSelectedName[i]) !== -1) {
console.log(this.epalSelectedId[i]);
nonCheckOccupancy += this.epalSelectedId[i] + "$";
}
}
console.log("Success!");
console.log(nonCheckOccupancy);
}
//return;
}
......
......@@ -235,7 +235,6 @@ import { IAppState } from "../../store/store";
this.numSelected.next(numsel);
this.regions$.next(rgns);
}, error => { console.log("error selecting regions"); });
//},0), error => { console.log("error selecting regions"); });
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment