Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Workout complete: a one-set workout's Sets tile reads 1 set · 1 work instead of 1 sets · 1 work
Duarte Santosa91945944500
diff --git a/frontend/src/lib/format-ago.test.js b/frontend/src/lib/format-ago.test.jsindex c9d93f031..da8dd931c 100644--- a/frontend/src/lib/format-ago.test.js+++ b/frontend/src/lib/format-ago.test.js@@ -1,5 +1,5 @@import { afterEach, describe, expect, it } from 'vitest'-import { fmtAgo, changeCount, fmtDur } from './format.js'+import { fmtAgo, changeCount, setsWorkCount, fmtDur } from './format.js'import { _setLangState } from './i18n-core.js'import ar from '../locales/ar.js'import uk from '../locales/uk.js'@@ -27,6 +27,23 @@ describe('changeCount', () => {})})+// The finish summary of a one-set workout read "1 sets · 1 work" (Android QA, v1.3.9).+describe('setsWorkCount', () => {+ afterEach(() => _setLangState('en', {}, null, null))++ it('has a singular', () => {+ expect(setsWorkCount(1, 1)).toBe('1 set · 1 work')+ expect(setsWorkCount(1, 0)).toBe('1 set · 0 work')+ expect(setsWorkCount(4, 3)).toBe('4 sets · 3 work')+ })++ it('and the packs carry it', () => {+ _setLangState('uk', uk, null, null)+ expect(setsWorkCount(1, 1)).toBe(uk['{0} set · {1} work'].replace('{0}', '1').replace('{1}', '1'))+ expect(uk['{0} set · {1} work']).not.toBe(uk['{0} sets · {1} work'])+ })+})+// A session's length in the UI language. The units were Latin letters in every pack, so an// Arabic or Ukrainian History row read "34 min" and "1h 5m" in the middle of its own script.describe('fmtDur', () => {diff --git a/frontend/src/lib/format.js b/frontend/src/lib/format.jsindex af34cb3b4..ef0f1810f 100644--- a/frontend/src/lib/format.js+++ b/frontend/src/lib/format.js@@ -56,6 +56,8 @@ export const fmtVol = (v, unit) => fmtNum(v) + ' ' + unitexport const exCount = n => t(n === 1 ? '{0} exercise' : '{0} exercises', n)export const routineCount = n => t(n === 1 ? '{0} routine' : '{0} routines', n)export const changeCount = n => t(n === 1 ? '{0} change' : '{0} changes', n)+// The Sets tile of the finish summary: all the sets logged, then how many of them were work sets.+export const setsWorkCount = (n, work) => t(n === 1 ? '{0} set · {1} work' : '{0} sets · {1} work', n, work)// "5 minutes ago", "yesterday", "now" — in the UI language, from the platform's own rules// (Intl.RelativeTimeFormat), so no pack has to carry a word for every unit and plural. Used fordiff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.jsindex 0aaf701ca..733b360a2 100644--- a/frontend/src/lib/pt-br-locale.test.js+++ b/frontend/src/lib/pt-br-locale.test.js@@ -41,7 +41,7 @@ describe('Brazilian Portuguese locale', () => {// has to be taught is a number nobody reads. What the numbers stood for is asserted above.// If the hash fails, review the changed keys and wording before accepting a new one. From// frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list- expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('84118d194e69dafad1d5ec891d78b04346621b5107a5199ed4e9b89c422f7b4d')+ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('3f954ae3dfedc9d6c8c34177c7737cedc19d5da9de6964ccb2a5d657ee8d3b67')})test('does not leak European Portuguese UI terms', () => {diff --git a/frontend/src/locales/ar.js b/frontend/src/locales/ar.jsindex e8c31e853..bfb99a04c 100644--- a/frontend/src/locales/ar.js+++ b/frontend/src/locales/ar.js@@ -1603,4 +1603,5 @@ export default {'Server address unknown': 'عنوان الخادم غير معروف','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'أقرِن الهاتف مجددًا، أو صدّر نسخة احتياطية أولًا. إذا تابعت على أي حال، فستبقى نسخة من هذه التغييرات على هذا الجهاز حتى يتصل بهذا الخادم بهذا الحساب مجددًا — وعندها تُضاف من جديد.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'سجّل الدخول مجددًا، أو صدّر نسخة احتياطية أولًا. إذا تابعت على أي حال، فستبقى نسخة من هذه التغييرات على هذا الجهاز حتى يتصل بهذا الخادم بهذا الحساب مجددًا — وعندها تُضاف من جديد.',+ '{0} set · {1} work': '{0} مجموعة · {1} عمل',}diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.jsindex b25fb92cf..77c3428b1 100644--- a/frontend/src/locales/de.js+++ b/frontend/src/locales/de.js@@ -1570,4 +1570,5 @@ export default {'Server address unknown': 'Serveradresse unbekannt','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Kopple neu oder exportiere zuerst ein Backup. Machst du trotzdem weiter, bleibt eine Kopie dieser Änderungen auf diesem Gerät, bis es sich wieder mit diesem Konto mit diesem Server verbindet — dann werden sie wieder hinzugefügt.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Melde dich wieder an oder exportiere zuerst ein Backup. Machst du trotzdem weiter, bleibt eine Kopie dieser Änderungen auf diesem Gerät, bis es sich wieder mit diesem Konto mit diesem Server verbindet — dann werden sie wieder hinzugefügt.',+ '{0} set · {1} work': '{0} Satz · {1} Arbeit',}diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.jsindex 37e4ba2a4..de407488d 100644--- a/frontend/src/locales/es.js+++ b/frontend/src/locales/es.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Dirección del servidor desconocida','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Vuelve a emparejar o exporta antes una copia. Si continúas de todos modos, se guarda una copia de estos cambios en este dispositivo hasta que vuelva a conectarse a este servidor con esta cuenta; entonces se vuelven a añadir.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Vuelve a iniciar sesión o exporta antes una copia. Si continúas de todos modos, se guarda una copia de estos cambios en este dispositivo hasta que vuelva a conectarse a este servidor con esta cuenta; entonces se vuelven a añadir.',+ '{0} set · {1} work': '{0} serie · {1} trabajo',}diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.jsindex 8e2914b46..937b7faa2 100644--- a/frontend/src/locales/fr.js+++ b/frontend/src/locales/fr.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Adresse du serveur inconnue','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Associez à nouveau, ou exportez d\'abord une sauvegarde. Si vous continuez quand même, une copie de ces modifications reste sur cet appareil jusqu\'à ce qu\'il se reconnecte à ce serveur avec ce compte — elles sont alors rajoutées.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Reconnectez-vous, ou exportez d\'abord une sauvegarde. Si vous continuez quand même, une copie de ces modifications reste sur cet appareil jusqu\'à ce qu\'il se reconnecte à ce serveur avec ce compte — elles sont alors rajoutées.',+ '{0} set · {1} work': '{0} série · {1} travail',}diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.jsindex 481d3483d..d753ad674 100644--- a/frontend/src/locales/hi.js+++ b/frontend/src/locales/hi.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'सर्वर का पता अज्ञात','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'फिर से पेयर करें, या पहले बैकअप निर्यात करें। फिर भी आगे बढ़ने पर इन बदलावों की एक कॉपी इस डिवाइस पर तब तक रहती है जब तक यह इसी खाते से इस सर्वर से फिर कनेक्ट नहीं होता — तब वे वापस जोड़ दिए जाते हैं।','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'फिर से साइन इन करें, या पहले बैकअप निर्यात करें। फिर भी आगे बढ़ने पर इन बदलावों की एक कॉपी इस डिवाइस पर तब तक रहती है जब तक यह इसी खाते से इस सर्वर से फिर कनेक्ट नहीं होता — तब वे वापस जोड़ दिए जाते हैं।',+ '{0} set · {1} work': '{0} सेट · {1} काम',}diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.jsindex 28372f151..3c858284f 100644--- a/frontend/src/locales/hu.js+++ b/frontend/src/locales/hu.js@@ -1553,4 +1553,5 @@ export default {'Server address unknown': 'A szerver címe ismeretlen','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Párosítsd újra, vagy előbb exportálj egy biztonsági mentést. Ha mégis folytatod, a módosítások másolata ezen az eszközön marad, amíg újra nem csatlakozik ehhez a szerverhez ezzel a fiókkal — akkor visszakerülnek.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Jelentkezz be újra, vagy előbb exportálj egy biztonsági mentést. Ha mégis folytatod, a módosítások másolata ezen az eszközön marad, amíg újra nem csatlakozik ehhez a szerverhez ezzel a fiókkal — akkor visszakerülnek.',+ '{0} set · {1} work': '{0} sorozat · {1} munka',}diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.jsindex e59fe1731..f630c91f2 100644--- a/frontend/src/locales/it.js+++ b/frontend/src/locales/it.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Indirizzo del server sconosciuto','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Abbina di nuovo, oppure esporta prima un backup. Se procedi comunque, una copia di queste modifiche resta su questo dispositivo finché non si ricollega a questo server con questo account — poi vengono aggiunte di nuovo.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Accedi di nuovo, oppure esporta prima un backup. Se procedi comunque, una copia di queste modifiche resta su questo dispositivo finché non si ricollega a questo server con questo account — poi vengono aggiunte di nuovo.',+ '{0} set · {1} work': '{0} serie · {1} lavoro',}diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.jsindex 63378736f..785d8ad64 100644--- a/frontend/src/locales/ko.js+++ b/frontend/src/locales/ko.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': '서버 주소를 알 수 없음','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '다시 페어링하거나 먼저 백업을 내보내세요. 그래도 계속하면 이 기기가 이 계정으로 이 서버에 다시 연결될 때까지 변경 사항의 사본이 이 기기에 보관되며, 그때 다시 추가됩니다.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '다시 로그인하거나 먼저 백업을 내보내세요. 그래도 계속하면 이 기기가 이 계정으로 이 서버에 다시 연결될 때까지 변경 사항의 사본이 이 기기에 보관되며, 그때 다시 추가됩니다.',+ '{0} set · {1} work': '{0} 세트 · {1} 작업',}diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.jsindex cd203c23e..ea8d81d6e 100644--- a/frontend/src/locales/pl.js+++ b/frontend/src/locales/pl.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Nieznany adres serwera','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Sparuj ponownie albo najpierw wyeksportuj kopię. Jeśli mimo to przejdziesz dalej, kopia tych zmian zostanie na tym urządzeniu, aż ponownie połączy się z tym serwerem na tym koncie — wtedy zostaną dodane z powrotem.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Zaloguj się ponownie albo najpierw wyeksportuj kopię. Jeśli mimo to przejdziesz dalej, kopia tych zmian zostanie na tym urządzeniu, aż ponownie połączy się z tym serwerem na tym koncie — wtedy zostaną dodane z powrotem.',+ '{0} set · {1} work': '{0} seria · {1} praca',}diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.jsindex aaabf4800..70c8fc1e1 100644--- a/frontend/src/locales/pt.js+++ b/frontend/src/locales/pt.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Endereço do servidor desconhecido','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Emparelha de novo, ou exporta primeiro uma cópia. Se continuares mesmo assim, fica uma cópia destas alterações neste dispositivo até ele voltar a ligar-se a este servidor com esta conta — aí são novamente adicionadas.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Inicia sessão de novo, ou exporta primeiro uma cópia. Se continuares mesmo assim, fica uma cópia destas alterações neste dispositivo até ele voltar a ligar-se a este servidor com esta conta — aí são novamente adicionadas.',+ '{0} set · {1} work': '{0} série · {1} trabalho',}diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.jsindex 04e63ab11..1d7117f77 100644--- a/frontend/src/locales/ru.js+++ b/frontend/src/locales/ru.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Адрес сервера неизвестен','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Выполните сопряжение заново или сначала экспортируйте резервную копию. Если всё равно продолжить, копия этих изменений останется на этом устройстве, пока оно снова не подключится к этому серверу с этим аккаунтом, — тогда они будут добавлены обратно.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Войдите снова или сначала экспортируйте резервную копию. Если всё равно продолжить, копия этих изменений останется на этом устройстве, пока оно снова не подключится к этому серверу с этим аккаунтом, — тогда они будут добавлены обратно.',+ '{0} set · {1} work': '{0} подход · рабочих: {1}',}diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.jsindex a9a3f8d61..ac9d97649 100644--- a/frontend/src/locales/th.js+++ b/frontend/src/locales/th.js@@ -1561,4 +1561,5 @@ export default {'Server address unknown': 'ไม่ทราบที่อยู่เซิร์ฟเวอร์','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'จับคู่ใหม่ หรือส่งออกข้อมูลสำรองก่อน หากดำเนินการต่อ สำเนาของการเปลี่ยนแปลงเหล่านี้จะอยู่ในอุปกรณ์นี้จนกว่าจะเชื่อมต่อกับเซิร์ฟเวอร์นี้ด้วยบัญชีนี้อีกครั้ง — แล้วจะถูกเพิ่มกลับเข้าไป','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'เข้าสู่ระบบอีกครั้ง หรือส่งออกข้อมูลสำรองก่อน หากดำเนินการต่อ สำเนาของการเปลี่ยนแปลงเหล่านี้จะอยู่ในอุปกรณ์นี้จนกว่าจะเชื่อมต่อกับเซิร์ฟเวอร์นี้ด้วยบัญชีนี้อีกครั้ง — แล้วจะถูกเพิ่มกลับเข้าไป',+ '{0} set · {1} work': '{0} เซ็ต · เซ็ตหลัก {1}',}diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.jsindex 141869445..49b5f990e 100644--- a/frontend/src/locales/tr.js+++ b/frontend/src/locales/tr.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': 'Sunucu adresi bilinmiyor','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Yeniden eşleştir ya da önce bir yedek dışa aktar. Yine de devam edersen bu değişikliklerin bir kopyası, cihaz bu hesapla bu sunucuya yeniden bağlanana kadar bu cihazda kalır — sonra geri eklenir.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Yeniden giriş yap ya da önce bir yedek dışa aktar. Yine de devam edersen bu değişikliklerin bir kopyası, cihaz bu hesapla bu sunucuya yeniden bağlanana kadar bu cihazda kalır — sonra geri eklenir.',+ '{0} set · {1} work': '{0} set · {1} çalışma',}diff --git a/frontend/src/locales/uk.js b/frontend/src/locales/uk.jsindex f2adee85b..e72b3bc9a 100644--- a/frontend/src/locales/uk.js+++ b/frontend/src/locales/uk.js@@ -1547,4 +1547,5 @@ export default {'Server address unknown': 'Адреса сервера невідома','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Спаруй знову або спершу експортуй резервну копію. Якщо все одно продовжити, копія цих змін залишиться на цьому пристрої, доки він знову не підключиться до цього сервера з цим акаунтом, — тоді їх буде додано назад.','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Увійди знову або спершу експортуй резервну копію. Якщо все одно продовжити, копія цих змін залишиться на цьому пристрої, доки він знову не підключиться до цього сервера з цим акаунтом, — тоді їх буде додано назад.',+ '{0} set · {1} work': '{0} підхід · робочих: {1}',}diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.jsindex 684f1ea50..43728ec2f 100644--- a/frontend/src/locales/zh.js+++ b/frontend/src/locales/zh.js@@ -1550,4 +1550,5 @@ export default {'Server address unknown': '服务器地址未知','Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '请重新配对,或先导出备份。如果仍然继续,这些更改的副本会保留在此设备上,直到它再次以此账号连接到此服务器——届时会重新加入。','Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '请重新登录,或先导出备份。如果仍然继续,这些更改的副本会保留在此设备上,直到它再次以此账号连接到此服务器——届时会重新加入。',+ '{0} set · {1} work': '{0} 组 · {1} 工作',}diff --git a/frontend/src/sheets.jsx b/frontend/src/sheets.jsxindex dbf65a836..cf51b803f 100644--- a/frontend/src/sheets.jsx+++ b/frontend/src/sheets.jsx@@ -3,7 +3,7 @@ import { useStore } from './store/useStore.js'import { useUI } from './store/useUI.js'import { EXDB, EXIDX, BODYPARTS, isCardio, isBodyweightEq, allExercises, equipmentOf, smOf, searchExercises, exOr, isAssisted, betterWeight, beatsWeight } from './lib/exercises.js'import { activeProfile, exAvailable, ALL_EQUIPMENT, newProfile } from './lib/equipment.js'-import { fmtDate, fmtNum, fmtPlate, capWords, fmtVol, fmtDur, durPart, todayISO, isoOf, uid, exCount, routineCount, DAYN, DAYS, weekOrder, weekStartOf, weekDayOffset, MONTHS_LONG, ACCENTS } from './lib/format.js'+import { fmtDate, fmtNum, fmtPlate, capWords, fmtVol, fmtDur, durPart, todayISO, isoOf, uid, exCount, routineCount, setsWorkCount, DAYN, DAYS, weekOrder, weekStartOf, weekDayOffset, MONTHS_LONG, ACCENTS } from './lib/format.js'import { lastEntryFor, bestWeightFor, bestWeightForEntry, buildSets, effectiveRoutineIds, workoutDay, workoutVolume, setsDone, setsDoneActive, setUnitsTotal, lastBW, supersetUnits, sessionSections, unitOf, setLabel, defaultConfig, cleanupSg, modeOf, effortOf, EFFORT, capEffort, stepEffort, isBw, isPerSide, sideReps, workSetsDone, applyIntensifierPlan, MAX_PLANNED_WARMUPS, NOTE_MAX } from './lib/history.js'import { usesBar, defaultBarWeight, hasBarOverride, isNoBar } from './lib/bar.js'import { PLATE_SIZES, pairsOf, ownsPlates, withPlatePairs, withStandardPlates, withLoadKind, loadKindFor, baseWeightFor } from './lib/plates.js'@@ -2514,7 +2514,7 @@ function FinishSummary({ w, prs, e1prs = [], close }) {<div className="tiles" style={{ textAlign: 'start' }}><div className="tile"><div className="l">{t('Duration')}</div><div className="v" style={{ fontSize: '1.1rem' }}>{fmtDur(w.end - w.start)}</div></div><div className="tile"><div className="l">{t('Volume')}</div><div className="v" style={{ fontSize: '1.1rem' }}>{fmtVol(w.vol, st.unit)}</div></div>- <div className="tile"><div className="l">{t('Sets')}</div><div className="v" style={{ fontSize: '1.1rem' }}>{t('{0} sets · {1} work', setsDone(w), workSetsDone(w))}</div></div>+ <div className="tile"><div className="l">{t('Sets')}</div><div className="v" style={{ fontSize: '1.1rem' }}>{setsWorkCount(setsDone(w), workSetsDone(w))}</div></div><div className="tile"><div className="l">{t('PRs')}</div><div className="v" style={{ fontSize: 20 }}>{prs.length || '—'}</div></div></div>{(prs.length > 0 || e1prs.length > 0) && <div style={{ textAlign: 'start', marginBottom: 12 }}>