Skip to content

Commit

Permalink
fix(icon): render delay on icon change
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Mar 16, 2023
1 parent e332065 commit 9b4bafb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/icon/src/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class AlwatrIcon extends DirectionMixin(SignalMixin(AlwatrBaseElement)) {

protected async _fetchIcon(): Promise<void> {
this._logger.logMethodArgs('_fetchIcon', {name: this.name});
this._svg = null;

if (this.name == null || this.name === '') {
// if (this._svg != null) this._svg = null;
Expand Down

0 comments on commit 9b4bafb

Please sign in to comment.