Skip to content

Commit

Permalink
Revert "SORMAS-Foundation#10514 - clear facility name & description (S…
Browse files Browse the repository at this point in the history
…ORMAS-Foundation#10602)"

This reverts commit 571dce1.
Reason: The change clear/does not set the facilityDetails when entering
the UserEditForm
  • Loading branch information
StefanKock committed Oct 14, 2022
1 parent b800f55 commit f34a7c8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ public String getFormattedHtmlMessage() {

if (!visibleAndRequired) {
facilityDetails.clear();
} else {
String facilityDetailsValue = getValue() != null ? getValue().getFacilityDetails() : null;
facilityDetails.setValue(facilityDetailsValue);
}
} else {
facilityDetails.setVisible(false);
Expand Down

0 comments on commit f34a7c8

Please sign in to comment.