File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4343 <template v-if =" stats .mode !== 2 " >
4444 <p >Time wasted by mistakes: {{ format(totalTimeLost) }} s</p >
4545 <p >Speed counting down that time {{ format(WPMWithoutTimeLost, 0, 1) }} WPM</p >
46- <p >Most mistakes in a row: {{ mostMistakesInARow }} mistakes </p >
46+ <p >Most mistakes in a row: {{ mostMistakesInARow }} mistake{{ mostMistakesInARow === 1 ? '' : 's' }} </p >
4747 <p >Longest correction time: {{ format(longestTimeOfCorrection) }} s</p >
4848 </template >
4949 <template v-else >
@@ -132,7 +132,7 @@ export default {
132132 return this .CPM / 5 ;
133133 },
134134 percentCompleted () {
135- return this .format (this .correctLines / this .stats .codeInfo .lines , 1 , 100 );
135+ return this .format (this .stats . correctLines / this .stats .codeInfo .lines , 1 , 100 );
136136 },
137137 mostMistakesInARow () {
138138 return this .mistakes .map ((obj ) => obj .fixQueuePos )
You can’t perform that action at this time.
0 commit comments