mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Everything to ES2020
This commit is contained in:
parent
84ffe1e552
commit
78178ecc2f
16 changed files with 35 additions and 45 deletions
|
|
@ -6,7 +6,7 @@ export class CheckboxComponent {
|
|||
: ko.observable(!!params.value);
|
||||
|
||||
this.enable = ko.isObservable(params.enable) ? params.enable
|
||||
: ko.observable(undefined === params.enable || !!params.enable);
|
||||
: ko.observable(params.enable ?? 1);
|
||||
|
||||
this.label = params.label;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue