Skip to content

Commit 634d58b

Browse files
committed
emit empty event(to create new record of today if not exists)
1 parent 27bbd77 commit 634d58b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/activityRecord.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function init () {
1919
if (records == null) {
2020
saveAllRecords([])
2121
}
22+
emit(null)
2223

2324
postRecords()
2425
if (window != null) {

0 commit comments

Comments
 (0)