diff --git a/www/scripts/controllers/daily_check_in.js b/www/scripts/controllers/daily_check_in.js index acf785d9..a36c9f5b 100644 --- a/www/scripts/controllers/daily_check_in.js +++ b/www/scripts/controllers/daily_check_in.js @@ -408,7 +408,7 @@ angular.module('livewellApp').controller('DailyCheckInCtrl', function($scope, $l if (clinicalStatusJson == undefined) { clinicalStatus = { currentCode: 1, - version: 1 + version: 0 }; clinicalStatusJson = JSON.stringify(clinicalStatus); diff --git a/www/scripts/controllers/settings.js b/www/scripts/controllers/settings.js index 3fc35c6c..1e86c2d1 100644 --- a/www/scripts/controllers/settings.js +++ b/www/scripts/controllers/settings.js @@ -6,8 +6,7 @@ * # SettingsCtrl * Controller of the livewellApp */ -angular.module('livewellApp') - .controller('SettingsCtrl', function($scope) { +angular.module('livewellApp').controller('SettingsCtrl', function($scope) { $scope.pageTitle = 'Settings'; $scope.times = [{ value: "00:00", diff --git a/www/scripts/controllers/weekly_check_in.js b/www/scripts/controllers/weekly_check_in.js index 15759e84..6c1cecb8 100644 --- a/www/scripts/controllers/weekly_check_in.js +++ b/www/scripts/controllers/weekly_check_in.js @@ -77,6 +77,8 @@ angular.module('livewellApp').controller('WeeklyCheckInCtrl', function($scope, $ } else { $scope.coachEmail = '' } + + // Make new PR reading for weekly clinical reachout... if (amrsSum >= 10) { (new PurpleRobot()).emitReading('livewell_clinicalreachout', {