[develop | DONE | FIXED]: [BUG FIX] showAuthors.component.ts: Remove non existing field from the condition.
This commit is contained in:
parent
632d11c82c
commit
43990dc582
|
@ -171,7 +171,7 @@ export class ShowAuthorsComponent {
|
|||
ngOnInit() {}
|
||||
|
||||
ngOnDestroy() {
|
||||
if(this.orcidDropdown && typeof document !== 'undefined') {
|
||||
if(typeof document !== 'undefined') {
|
||||
let modal_container = document.getElementById("modal-container");
|
||||
modal_container.childNodes.forEach(c=> {
|
||||
if (c['className'] && c['className'].includes("orcid-dropdown")) {
|
||||
|
|
Loading…
Reference in New Issue