From 634d58b3caaffb0fe3b8e749133b889140fbcc0d Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Tue, 8 Dec 2015 00:28:08 +0900 Subject: [PATCH] emit empty event(to create new record of today if not exists) --- lib/activityRecord.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/activityRecord.js b/lib/activityRecord.js index 9a83b1ec..79036010 100644 --- a/lib/activityRecord.js +++ b/lib/activityRecord.js @@ -19,6 +19,7 @@ export function init () { if (records == null) { saveAllRecords([]) } + emit(null) postRecords() if (window != null) {