Skip to content

Commit

Permalink
change null to "" if the parameter for left_icon_src is left empty
Browse files Browse the repository at this point in the history
  • Loading branch information
smborio committed Jul 6, 2021
1 parent 41c56ec commit cd71337
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class TmplTileComponent extends TemplateBaseComponent implements ITemplat
this.first_line_text = getStringParamFromTemplateRow(this._row, "first_line_text", null);
this.second_line_text = getStringParamFromTemplateRow(this._row, "second_line_text", null);
this.icon_src = getStringParamFromTemplateRow(this._row, "icon_src", null);
this.left_icon_src = getStringParamFromTemplateRow(this._row, "left_icon_src", null);
this.left_icon_src = getStringParamFromTemplateRow(this._row, "left_icon_src", "");
this.value = this._row.value;
this.windowWidth = window.innerWidth;
this.style = `
Expand Down

0 comments on commit cd71337

Please sign in to comment.