From 12f367054805ff593a0e1061c9763b4115ca4a57 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Wed, 19 Dec 2018 20:34:16 +0100
Subject: [PATCH] Fixed error in js

---
 front/src/utils/time.js | 2 +-
 front/stats.json        | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 front/stats.json

diff --git a/front/src/utils/time.js b/front/src/utils/time.js
index 028131cf..ca3edbde 100644
--- a/front/src/utils/time.js
+++ b/front/src/utils/time.js
@@ -16,7 +16,7 @@ export default {
   durationFormatted (v) {
     let duration = parseInt(v)
     if (duration % 1 !== 0) {
-      return time.parse(0)
+      return this.parse(0)
     }
     duration = Math.round(duration)
     return this.parse(duration)
diff --git a/front/stats.json b/front/stats.json
new file mode 100644
index 00000000..e69de29b
-- 
GitLab