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