Default H2 text to coreId if coreName not present.
This commit is contained in:
parent
4e36ba07ed
commit
3cdf7ac643
@ -1,7 +1,11 @@
|
||||
{{!< default}}
|
||||
|
||||
{{! Grab 1st coreName value (it will be same value for entire set).}}
|
||||
<h2>Alerts from Particle Core: {{alerts.0.coreName}} </h2>
|
||||
{{#if alerts.0.coreName}}
|
||||
<h2>Alerts from Particle Core: {{alerts.0.coreName}} </h2>
|
||||
{{else}}
|
||||
<h2>Alerts from Particle Core: {{alerts.0.coreId}} </h2>
|
||||
{{/if}}
|
||||
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
|
Loading…
Reference in New Issue
Block a user