mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
declarative table improvement (#15024)
This commit is contained in:
@@ -52,8 +52,8 @@ export class Checkbox extends Widget {
|
||||
this._label.setAttribute('for', id);
|
||||
|
||||
this.label = opts.label;
|
||||
this.enabled = opts.enabled || true;
|
||||
this.checked = opts.checked || false;
|
||||
this.enabled = opts.enabled ?? true;
|
||||
this.checked = opts.checked ?? false;
|
||||
|
||||
if (opts.onChange) {
|
||||
this.onChange(opts.onChange);
|
||||
|
||||
Reference in New Issue
Block a user