Merge pull request #2442 from thebookins/wip/fix-loop-notification

fix loop notification text
This commit is contained in:
Milos Kozak
2017-02-10 08:01:45 +01:00
committed by GitHub
+2 -2
View File
@@ -154,7 +154,7 @@ function init(ctx) {
sbx.notifications.requestNotify({
level: level
, title: 'Loop isn\'t looping'
, message: 'Last Loop: ' + utils.formatAgo(prop.lastLoop.moment, now.valueOf())
, message: 'Last Loop: ' + utils.formatAgo(prop.lastOkMoment, now.valueOf())
, pushoverSound: 'echo'
, group: 'Loop'
, plugin: loop
@@ -231,7 +231,7 @@ function init(ctx) {
if (prop.lastLoop && prop.lastLoop.cob) {
var cob = prop.lastLoop.cob;
var cob = prop.lastLoop.cob.cob;
cob = Math.round(cob);
cob = Math.round(cob);
valueParts = valueParts.concat([
', COB: '
, cob + 'g'