Skip to content

Commit

Permalink
valid dest fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikNoga committed Jun 18, 2024
1 parent c52645d commit 916ba62
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 916ba62

Please sign in to comment.