Skip to content

Commit

Permalink
Parvathy | BAH-3058 | Fix. Auto Refresh After Status Change
Browse files Browse the repository at this point in the history
  • Loading branch information
parvathy00 committed Jul 19, 2024
1 parent bdbda06 commit 2c03fa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ angular.module('bahmni.appointments')
closeConfirmBox();
messagingService.showMessage('info', message);
$scope.filteredAppointments = appointmentsFilter($scope.appointments, $stateParams.filterParams);
$state.reload();
});
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('AppointmentsListViewController', function () {
}
};
});
$state = jasmine.createSpyObj('$state', ['go']);
$state = jasmine.createSpyObj('$state', ['go', 'reload']);
confirmBox = jasmine.createSpy('confirmBox');
messagingService = jasmine.createSpyObj('messagingService', ['showMessage']);
$translate = jasmine.createSpyObj('$translate', ['instant', 'storageKey', 'storage', 'preferredLanguage']);
Expand Down

0 comments on commit 2c03fa2

Please sign in to comment.