Skip to content

Commit

Permalink
AUS-3889
Browse files Browse the repository at this point in the history
  • Loading branch information
yunlong committed Mar 9, 2023
1 parent e2133bb commit 3fd6bd1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/app/modalwindow/querier/querier.modal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,21 @@ export class QuerierModalComponent implements OnInit {
htmldata.push(doc.getElementsByTagName('gml:name')[html].innerHTML)
}
}
this.docs[i]['node_name'] = htmldata[i]
} else if (doc.getElementsByTagName('gsmlp:name').length != 0) {
for (let html in doc.getElementsByTagName('gsmlp:name')) {
if(!objExp.test(doc.getElementsByTagName('gsmlp:name')[html].innerHTML)) {
htmldata.push(doc.getElementsByTagName('gsmlp:name')[html].innerHTML)
}
}
} else if (doc.getElementsByTagName('null:name').length != 0) {
for (let html in doc.getElementsByTagName('null:name')) {
if(!objExp.test(doc.getElementsByTagName('null:name')[html].innerHTML)) {
htmldata.push(doc.getElementsByTagName('null:name')[html].innerHTML)
}
}
}
this.docs[i]['node_name'] = htmldata[i]

}
setTimeout(() => {
this.changeDetectorRef.detectChanges();
Expand Down

0 comments on commit 3fd6bd1

Please sign in to comment.