Skip to content

Commit

Permalink
Merge pull request #275 from lopezton-anthem/bugfix/1.1.9
Browse files Browse the repository at this point in the history
Null safety check
  • Loading branch information
dinakarmeda authored Nov 15, 2018
2 parents 91daf0a + f4cc07b commit 52cd832
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export class Link extends BaseElement {
this.linkClass = this.inClass;
}

if (this.element.config && this.element.config.uiStyles.attributes && this.element.config.uiStyles.attributes.url) {
if (this.rowData && this.element.config &&
this.element.config.uiStyles.attributes && this.element.config.uiStyles.attributes.url) {
let urlParams: string[] = this.getAllURLParams(this.element.config.uiStyles.attributes.url);
if (urlParams && urlParams.length > 0) {
if(urlParams!=null) {
Expand Down

0 comments on commit 52cd832

Please sign in to comment.