Skip to content

Commit

Permalink
fix(esl-image-utils): omit console warnings in case of missing inner …
Browse files Browse the repository at this point in the history
…image
  • Loading branch information
NastaLeo committed Jan 27, 2025
1 parent 3167dc5 commit ca13a8a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export class ESLImageContainerMixin extends ESLMixinElement {

@listen({
event: 'load error',
target: (that: ESLImageContainerMixin) => that.$images
target: (that: ESLImageContainerMixin) => that.$images,
condition: (that: ESLImageContainerMixin) => !!that.$images.length
})
protected _onReady(): void {
if (!this.complete) return;
Expand Down

0 comments on commit ca13a8a

Please sign in to comment.