From 366ac04d83020dfccb1879e020b79d3492108b4b Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 22 Aug 2022 15:28:44 +0200 Subject: [PATCH] showing cpm if cpm is enabled closes #3430 --- frontend/src/ts/account/pb-tables.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/ts/account/pb-tables.ts b/frontend/src/ts/account/pb-tables.ts index 9d1610098..85e16b137 100644 --- a/frontend/src/ts/account/pb-tables.ts +++ b/frontend/src/ts/account/pb-tables.ts @@ -143,7 +143,9 @@ function buildPbHtml(
${modeString}
-
${Math.round(pbData.wpm * multiplier)} wpm
+
${Math.round(pbData.wpm * multiplier)} ${ + Config.alwaysShowCPM ? "cpm" : "wpm" + }
${Math.round(pbData.raw * multiplier)} raw
${pbData.acc === undefined ? "-" : Math.floor(pbData.acc)} acc
${