We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1679f89 commit d7a1d66Copy full SHA for d7a1d66
apps/sleeplog/boot.js
@@ -293,7 +293,7 @@ if (global.sleeplog.conf.enabled) {
293
timestamp: new Date(data.timestamp),
294
status: data.status,
295
consecutive: data.consecutive,
296
- prevStatus: this.status,
+ prevStatus: data.status === this.status ? undefined : this.status,
297
prevConsecutive: data.consecutive === this.consecutive ? undefined : this.consecutive
298
}, (e => {delete e.fn; return e;})(entry.clone()));
299
});
0 commit comments