fix(FN-4306): keep capacity threshold editable when banner is off

Fusion-Task-Id: FN-4306
Fusion-Task-Lineage: b0ab9b60-de02-40a7-ad8b-0ca18c98e16c
This commit is contained in:
Fusion
2026-05-13 06:48:36 -07:00
committed by gsxdsm
parent bfedc6d3ff
commit 956cd4568e

View File

@@ -2058,7 +2058,6 @@ export function SettingsModal({
min={0}
className="input"
value={form.capacityRiskTodoThreshold ?? 20}
disabled={form.capacityRiskBannerEnabled !== true}
onChange={(e) =>
setForm((f) => ({
...f,
@@ -2069,7 +2068,7 @@ export function SettingsModal({
}))
}
/>
<small>Banner fires when todo count is strictly greater than this value (default 20).</small>
<small>Banner fires when todo count is strictly greater than this value (default 20). Applies when the banner is enabled.</small>
</div>
<h4 className="settings-section-heading settings-section-heading--spaced">GitHub Tracking</h4>
<div className="form-group">