UI Changes

This commit is contained in:
venbatechnologies@gmail.com 2019-02-04 17:27:27 +05:30
parent b8fb9c6ff0
commit 9f9ac3cd2c

View File

@ -210,8 +210,9 @@ export class AddPdComponent implements OnInit, OnDestroy {
data => { data => {
if (data.status == 200) { if (data.status == 200) {
this.titleList=data.records.filter(val=>val.isactive==1); this.titleList=data.records.filter(val=>val.isactive==1);
let index1 = this.titleList.map(data => data.name).indexOf("Master"); // console.log(this.titleList);
this.titleList.splice(index1, 1); // let index1 = this.titleList.map(data => data.name).indexOf("Master");
// this.titleList.splice(index1, 1);
} }
}, error => this.errorMessage = <any> error); }, error => this.errorMessage = <any> error);