Merge pull request #4833 from bassettb/daytoday-carbs-dont-need-IC-calc

Don't show calculated insulin next to carbs
This commit is contained in:
Sulka Haro
2019-08-04 17:42:12 +03:00
committed by GitHub
-1
View File
@@ -738,7 +738,6 @@ daytoday.report = function report_daytoday (datastorage, sorteddaystoshow, optio
var label = ' ' + treatment.carbs + ' g';
if (treatment.protein) label += ' / ' + treatment.protein + ' g';
if (treatment.fat) label += ' / ' + treatment.fat + ' g';
label += ' (' + client.utils.toFixedMin((treatment.carbs / ic), 2) + 'U)';
context.append('rect')
.attr('y', yCarbsScale(treatment.carbs))