All files / src/app/components/command-center command-center.component.html

100% Statements 16/16
100% Branches 2/2
100% Functions 1/1
100% Lines 10/10

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 10 11 12 13 14 15 16 17 18 19  24x 12129x 12129x         12153x 12129x   24x 1038x   24x   24258x 24x  
<div class="command-center">
    <p-select id="command_signal_selector"
    [options]="signalIdsToDisplay"
    [group]="true"
    optionGroupLabel="deviceName"
    optionGroupChildren="signals"
    optionLabel="ticker"
    optionValue="signalId"
    [(ngModel)]="selectedSignalId"
    [filter]="true" [showClear]="true"
    placeholder="Select a signal to command">
        <ng-template let-group #group>
            <span class="select-group">{{ group.deviceName }}</span>
        </ng-template>
    </p-select>
 
    <app-signal-command *ngIf="signal !== undefined" [signal]="signal" [canUnForce]="true"></app-signal-command>
</div>