From 7f170d06ef56d10dc392da5eb90804f0a907b025 Mon Sep 17 00:00:00 2001 From: emelko <ml.kochsiek@mailbox.org> Date: Mon, 4 Feb 2019 22:15:34 +0100 Subject: [PATCH] Make sure stats output some result after one completed cycle --- components/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/stats.js b/components/stats.js index d9ec69c4..46688593 100644 --- a/components/stats.js +++ b/components/stats.js @@ -13,7 +13,7 @@ import AppText from './app-text' export default class Stats extends Component { render() { const cycleLengths = cycleModule().getAllCycleLengths() - const atLeastOneCycle = cycleLengths.length > 1 + const atLeastOneCycle = cycleLengths.length >= 1 let numberOfCycles let cycleInfo if (atLeastOneCycle) { -- GitLab