diff --git a/src/components/checkbox/checkbox.ts b/src/components/checkbox/checkbox.ts index 23335f422..2328f1213 100644 --- a/src/components/checkbox/checkbox.ts +++ b/src/components/checkbox/checkbox.ts @@ -212,11 +212,11 @@ export default class WaCheckbox extends WebAwesomeFormAssociatedElement { render() { const hasHelpTextSlot = isServer ? true : this.hasSlotController.test('help-text'); const hasHelpText = this.helpText ? true : !!hasHelpTextSlot; - const isIndeterminate = !this.checked && this.indeterminate + const isIndeterminate = !this.checked && this.indeterminate; - const iconName = isIndeterminate ? "indeterminate" : "check" - const iconState = isIndeterminate ? "indeterminate" : "check" - const iconVisible = this.checked || this.indeterminate + const iconName = isIndeterminate ? 'indeterminate' : 'check'; + const iconState = isIndeterminate ? 'indeterminate' : 'check'; + const iconVisible = this.checked || this.indeterminate; // // NOTE: we use a `