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

75% Statements 15/20
100% Branches 2/2
100% Functions 0/0
77.77% Lines 7/9

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 9 1024x 29x 29x 29x 28x 1x 48x      
<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>
<div *ngIf="error!==undefined">
    <p>No such event</p>
</div>