fix(accounts): isolate checkbox double clicks
This commit is contained in:
@@ -360,10 +360,11 @@ function AccountRow({
|
||||
<input
|
||||
aria-label={`${row.hoster} ${row.enabled ? "deaktivieren" : "aktivieren"}`}
|
||||
checked={row.enabled}
|
||||
disabled={busy}
|
||||
disabled={busy}
|
||||
onChange={(event) => actions.onToggleEnabled(row.id, event.target.checked)}
|
||||
onClick={(event) => event.stopPropagation()}
|
||||
type="checkbox"
|
||||
onClick={(event) => event.stopPropagation()}
|
||||
onDoubleClick={(event) => event.stopPropagation()}
|
||||
type="checkbox"
|
||||
/>
|
||||
</span>
|
||||
<span className="settings-account-hoster" role="cell" title={`${row.hoster} · ${row.mode}`}>
|
||||
|
||||
Reference in New Issue
Block a user