fix(web): label Monitor toggle for a11y + correct Settings eyebrow

This commit is contained in:
Jonathan
2026-07-13 15:11:09 +02:00
parent bbe1616ed2
commit db72cab99b
+2 -1
View File
@@ -156,7 +156,7 @@ export function SettingsForm() {
return ( return (
<div> <div>
<PageHead title="Settings" eyebrow="Credentials · library · discovery" /> <PageHead title="Settings" eyebrow="Credentials · library · monitor · discovery" />
<div className="tabs"> <div className="tabs">
{TABS.map((t) => ( {TABS.map((t) => (
@@ -272,6 +272,7 @@ export function SettingsForm() {
<label className="toggle"> <label className="toggle">
<input <input
type="checkbox" type="checkbox"
aria-label="automatic monitoring"
checked={monitorCfg["monitor.enabled"] === "true"} checked={monitorCfg["monitor.enabled"] === "true"}
onChange={(e) => setMon("monitor.enabled", e.target.checked ? "true" : "false")} onChange={(e) => setMon("monitor.enabled", e.target.checked ? "true" : "false")}
/> />