Merge pull request #5033 from GabrielInTheWorld/fixProjector
Sets default display-type on 'projector-button'
This commit is contained in:
commit
27bd053d90
@ -36,6 +36,9 @@ export class CountdownTimeComponent implements OnDestroy {
|
|||||||
*/
|
*/
|
||||||
@Input()
|
@Input()
|
||||||
public set displayType(displayType: string) {
|
public set displayType(displayType: string) {
|
||||||
|
if (!displayType) {
|
||||||
|
displayType = 'onlyCountdown';
|
||||||
|
}
|
||||||
this.showTimeIndicator = displayType === 'countdownAndTimeIndicator' || displayType === 'onlyTimeIndicator';
|
this.showTimeIndicator = displayType === 'countdownAndTimeIndicator' || displayType === 'onlyTimeIndicator';
|
||||||
this.showCountdown = displayType === 'onlyCountdown' || displayType === 'countdownAndTimeIndicator';
|
this.showCountdown = displayType === 'onlyCountdown' || displayType === 'countdownAndTimeIndicator';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user