Skip to content
Snippets Groups Projects
Commit 36c0de8e authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13271 TIME 0:15 fix js error

parent f1ea1ee3
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,10 @@ export class TagInputComponent implements OnInit { ...@@ -217,7 +217,10 @@ export class TagInputComponent implements OnInit {
} }
openThesaurus(tag: any = null) { openThesaurus(tag: any = null) {
tag = this.returnValue === 'id' ? tag : tag.id; if (tag !== null) {
tag = this.returnValue === 'id' ? tag : tag.id;
}
const dialogRef = this.dialog.open(ThesaurusModalComponent, { const dialogRef = this.dialog.open(ThesaurusModalComponent, {
panelClass: 'maarch-modal', panelClass: 'maarch-modal',
width: '600px', width: '600px',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment