commit: 4de9daa1144536f03c86d277b4ec1288dc9df432
parent 6ff0a7f0215de1acd0490020b53485c45550df79
Author: marcin mikołajczak <me@mkljczk.pl>
Date: Sun, 28 Apr 2024 18:56:10 +0000
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: marcin mikołajczak <me@mkljczk.pl>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/components/status/status.js b/src/components/status/status.js
@@ -421,6 +421,8 @@ const Status = {
let multiplier = 60 * 1000 // minutes is smallest unit
switch (unit) {
case 'm':
+ break
+ case 'h':
multiplier *= 60 // hour
break
case 'd':