mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Merge pull request #2442 from thebookins/wip/fix-loop-notification
fix loop notification text
This commit is contained in:
+2
-2
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user