Skip to content

Commit 2d1186c

Browse files
[DSC-1629] fix conflicts
1 parent e2692a2 commit 2d1186c

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/onebox/dynamic-onebox.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@
5757
background-color: var(--bs-dropdown-link-hover-bg);
5858
}
5959
}
60+
61+
.list-item img {
62+
height: 20px
63+
}

src/app/shared/form/builder/ds-dynamic-form-ui/models/onebox/dynamic-onebox.component.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,4 +413,13 @@ export class DsDynamicOneboxComponent extends DsDynamicVocabularyComponent imple
413413
type: 'vocabularyEntry'
414414
});
415415
}
416+
417+
418+
/**
419+
* Hide image on error
420+
* @param image
421+
*/
422+
handleImgError(image: HTMLElement): void {
423+
image.style.display = 'none';
424+
}
416425
}

0 commit comments

Comments
 (0)