nothing

parent 833495d2
...@@ -230,11 +230,10 @@ export class HelperDataService implements OnInit, OnDestroy { ...@@ -230,11 +230,10 @@ export class HelperDataService implements OnInit, OnDestroy {
this.lockApprov$.getValue().forEach(lockapp => this.lockApprov$.getValue().forEach(lockapp =>
{ {
this.lockapp = lockapp.res; this.lockapp = lockapp.res;
console.log(this.lockapp,"lookapp");
if (this.lockapp === 0){ if (this.lockapp === 0){
console.log("1"); if (classActive === 1)
; if (classActive === 1)
getConnectionString = `${AppSettings.API_ENDPOINT}/regions/list`; getConnectionString = `${AppSettings.API_ENDPOINT}/regions/list`;
else if (classActive === 2) else if (classActive === 2)
getConnectionString = `${AppSettings.API_ENDPOINT}/sectorsperschool/list?sector_id=${courseActive}`; getConnectionString = `${AppSettings.API_ENDPOINT}/sectorsperschool/list?sector_id=${courseActive}`;
...@@ -246,7 +245,6 @@ export class HelperDataService implements OnInit, OnDestroy { ...@@ -246,7 +245,6 @@ export class HelperDataService implements OnInit, OnDestroy {
} }
else else
{ {
console.log("2");
if (classActive === 1) if (classActive === 1)
getConnectionString = `${AppSettings.API_ENDPOINT}/epal/getregions`; getConnectionString = `${AppSettings.API_ENDPOINT}/epal/getregions`;
else if (classActive === 2) else if (classActive === 2)
......
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