All files / src/app/components/event-rule event-rule.component.html

78.94% Statements 15/19
100% Branches 2/2
100% Functions 0/0
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 910x   20x 9x 9x 9x 8x 1x  
<app-error *ngIf="error" [error]="error"></app-error>
 
<div *ngIf="eventRule!==undefined">
    <h1 class="title">{{eventRule.name}}</h1>
    <h2 class="subtitle is-5">event rule #{{eventRule.id.slice(16)}}</h2>
    <p>Number of events triggered:  {{eventRule.number_events}}</p>
    <app-events *ngIf="eventRule.number_events!==undefined && eventRule.number_events>0" [inputEventRuleId]="eventRuleId"></app-events>
</div>