mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
handle AAPS profile switches well
This commit is contained in:
@@ -1075,9 +1075,9 @@ function init (client, d3) {
|
||||
var sign = t.first ? '▲▲▲' : '▬▬▬';
|
||||
var ret;
|
||||
if (t.cutting) {
|
||||
ret = sign + ' ' + t.cutting + ' ' + '►►►' + ' ' + t.profile + ' ' + sign;
|
||||
ret = sign + ' ' + client.profilefunctions.profileSwitchName(t.cutting) + ' ' + '►►►' + ' ' + client.profilefunctions.profileSwitchName(t.profile) + ' ' + sign;
|
||||
} else {
|
||||
ret = sign + ' ' + t.profile + ' ' + sign;
|
||||
ret = sign + ' ' + client.profilefunctions.profileSwitchName(t.profile) + ' ' + sign;
|
||||
}
|
||||
return ret;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user