Skip to content

Commit

Permalink
#RA-1983 - Refresh component after data is fetched (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
icrc-toliveira authored Feb 23, 2022
1 parent 46cb35a commit bf01449
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export default class ObsAcrossEncountersController {
constructor($q, $filter, openmrsRest, openmrsTranslate, widgetsCommons) {
constructor($scope, $q, $filter, openmrsRest, openmrsTranslate, widgetsCommons) {
'ngInject';

Object.assign(this, {$q, $filter, openmrsRest, openmrsTranslate, widgetsCommons});
Object.assign(this, {$scope, $q, $filter, openmrsRest, openmrsTranslate, widgetsCommons});
}

$onInit() {
Expand Down Expand Up @@ -152,6 +152,7 @@ export default class ObsAcrossEncountersController {
row.push(obsArray);
});
}
this.$scope.$apply();
}

isRetired(obs) {
Expand Down

0 comments on commit bf01449

Please sign in to comment.