{#each orderedHosts as host (host.id)} {@const isInDisabledList = perDomain.disabledHostIds.includes(host.id)} {#snippet actions()} {#key perDomain.allDisabled + perDomain.disabledHostIds.join(',')} !isInDisabledList, (v) => { onHostToggle(host.id, v); return v; } } size="sm" /> {/key} {/snippet} {/each}

Disable all on this site

Turn off all hosts for {domain}

{#key perDomain.allDisabled} !perDomain.allDisabled, (v) => { onAllToggle(v); return v; } } size="sm" /> {/key}