Skip to content

Commit

Permalink
Merge pull request #129 from OpenLMIS-Angola/OAM-187-hotfix-valid-dest
Browse files Browse the repository at this point in the history
OAM-187: valid dest fixed
  • Loading branch information
DominikNoga authored Jun 18, 2024
2 parents c52645d + 916ba62 commit 3a1d1bc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@
var isWard = true;

if (!vm.itemDestination) {
vm.itemDestination = facility;
vm.itemDestination = angular.copy(facility);
}
if (!vm.itemDestination || vm.itemDestination.id === facility.id) {
isWard = false;
}

Expand Down

0 comments on commit 3a1d1bc

Please sign in to comment.