Skip to content

Commit

Permalink
[SDPA-3390] Added To check null value for link and link title for ale…
Browse files Browse the repository at this point in the history
…rts with no link. (#584)
  • Loading branch information
MdNadimHossain authored Oct 28, 2019
1 parent 456618d commit 44b2df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ripple-nuxt-tide/modules/alert/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export default function ({ app, store }) {
title: get(alert, 'title', ''),
type: get(alert, 'field_alert_type.name', ''),
link: {
text: link.title,
url: link.url || link.uri
text: get(link, 'title', ''),
url: get(link, 'url', '') || get(link, 'uri', '')
},
sites
}
Expand Down

0 comments on commit 44b2df1

Please sign in to comment.