[develop | DONE | FIXED]: [BUG FIX] showAuthors.component.ts: Remove non existing field from the condition.

This commit is contained in:
Konstantina Galouni 2024-05-23 18:16:07 +03:00
parent 632d11c82c
commit 43990dc582
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ export class ShowAuthorsComponent {
ngOnInit() {} ngOnInit() {}
ngOnDestroy() { ngOnDestroy() {
if(this.orcidDropdown && typeof document !== 'undefined') { if(typeof document !== 'undefined') {
let modal_container = document.getElementById("modal-container"); let modal_container = document.getElementById("modal-container");
modal_container.childNodes.forEach(c=> { modal_container.childNodes.forEach(c=> {
if (c['className'] && c['className'].includes("orcid-dropdown")) { if (c['className'] && c['className'].includes("orcid-dropdown")) {