Merge merge request !60 (decimal progression steps below one)

This commit is contained in:
Duarte Santos committed 2026-08-30 13:13:01 +02:00
commit ce4a30002a
2 files changed
+70 -1

No files matched your search

+1 -1
View File
@@ -563,7 +563,7 @@ function ProgressionFields({ ex, mode, c, setC, routine, unit }) {
if (options.length < 2) return null
const inherited = policyFor({ id: ex.id }, routine, mode)
const active = policyFor({ ...c, id: ex.id }, routine, mode)
const inc = c.inc > 0 ? c.inc : (mode === 'time' ? 5 : defaultIncrement(ex.id, unit))
const inc = c.inc >= 0 ? c.inc : (mode === 'time' ? 5 : defaultIncrement(ex.id, unit))
return <>
<h4 className="sec">{t('Progression')}</h4>
<div className="sect-b" style={{ marginBottom: 8 }}>