Skip to content

Commit

Permalink
openaps.js: Comment out prop.lastSuggested.sensitivityRatio
Browse files Browse the repository at this point in the history
to keep sensitivityratio only displayed once, as in in 05d98e0
  • Loading branch information
bjornoleh committed May 7, 2024
1 parent ff78074 commit fdd4915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/openaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ function init (ctx) {
var valueParts = [
valueString('• <b>BG:</b> ', bg)
, valueString(' • ', prop.lastSuggested.reason)
, prop.lastSuggested.sensitivityRatio ? '• <b>Sensitivity Ratio:</b> ' + (parseFloat(prop.lastSuggested.sensitivityRatio) * 100).toFixed(0) + '%' : ''
// , prop.lastSuggested.sensitivityRatio ? '• <b>Sensitivity Ratio:</b> ' + (parseFloat(prop.lastSuggested.sensitivityRatio) * 100).toFixed(0) + '%' : ''
];

//if (_.includes(selectedFields, 'iob')) { //Daniel: Commented out to always add IOB info to suggested devicestatus
Expand Down

0 comments on commit fdd4915

Please sign in to comment.