Skip to content

Commit

Permalink
Merge pull request #886 from IDEMSInternational/fix/tile_component-pa…
Browse files Browse the repository at this point in the history
…rameters-null

change null to "" if the parameter for left_icon_src is left empty
  • Loading branch information
smborio authored Jul 6, 2021
2 parents 41c56ec + cd71337 commit 4aab6e8
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 4aab6e8

Please sign in to comment.