Skip to content

Commit c67461c

Browse files
Vaccine changes: Fetching the manufacturer name, instead of optional
1 parent 8e9722e commit c67461c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/vaccination/VaccinationEditForm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected void addFields() {
104104
vaccineName.addValueChangeListener(e -> {
105105
Vaccine vaccine = (Vaccine) e.getProperty().getValue();
106106
if (vaccine != null) {
107-
vaccineManufacturer.setValue(vaccine.getManufacturer());
107+
vaccineManufacturer.setValue(vaccine.getManufacturer().get());
108108

109109
// VaccineType
110110
if (vaccine.getVaccineType().isPresent()) {

0 commit comments

Comments
 (0)