Skip to content

Commit 8d0c0f6

Browse files
authored
Merge branch 'develop' into feature/getVariableCategoryName
2 parents a26a1cc + edeed75 commit 8d0c0f6

File tree

6 files changed

+5
-63
lines changed

6 files changed

+5
-63
lines changed

.idea/runConfigurations/GI_Test.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.idea/runConfigurations/GI_Test_API_Suite.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.idea/runConfigurations/GI_Test_Ionic_Suite.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.idea/runConfigurations/ionic_pull.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/js/qmHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4388,10 +4388,10 @@ var qm = {
43884388
qm.qmLog.errorAndExceptionTestingOrDevelopment("Could not get unit for this measurement: ", m)
43894389
} else {
43904390
if(!m.unitAbbreviatedName){m.unitAbbreviatedName = unit.abbreviatedName;}
4391+
if(unit.abbreviatedName === '/5'){m.roundedValue = Math.round(m.value);}
43914392
}
43924393
if(!m.variableName){m.variableName = m.variable;}
43934394
if(m.variableName === qm.getPrimaryOutcomeVariable().name){m.valence = qm.getPrimaryOutcomeVariable().valence;}
4394-
if(unit.abbreviatedName === '/5'){m.roundedValue = Math.round(m.value);}
43954395
m.displayValueAndUnitString = m.displayValueAndUnitString || m.value + " " + unit.abbreviatedName;
43964396
m.displayValueAndUnitString = qm.stringHelper.formatValueUnitDisplayText(m.displayValueAndUnitString)
43974397
m.valueUnitVariableName = m.displayValueAndUnitString + " " + m.variableName;

src/js/services/qmService.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,8 +2877,10 @@ angular.module('starter').factory('qmService', ["$http", "$q", "$rootScope", "$i
28772877
if(!notificationExists && queue[0].reminderFrequency && !queue[0].stopTrackingDate){
28782878
qmLog.error("Notification not found for reminder we just created!", null, {'reminder': queue[0]});
28792879
}
2880-
qmLog.info("Got " + notifications.length + " notifications to from postTrackingRemindersDeferred response", null, {notifications: notifications});
2881-
qm.storage.setTrackingReminderNotifications(notifications);
2880+
qmLog.info("Got " + notifications.length +
2881+
" notifications to from postTrackingRemindersDeferred response",
2882+
null, {notifications: notifications});
2883+
putTrackingReminderNotificationsInLocalStorageAndUpdateInbox(notifications);
28822884
}
28832885
}else{
28842886
qmLog.error("No postTrackingRemindersToApi response.data!");

0 commit comments

Comments
 (0)