diff --git a/src/main/java/seedu/address/ui/PersonCard.java b/src/main/java/seedu/address/ui/PersonCard.java index fb1468bc097..7e1120371c7 100644 --- a/src/main/java/seedu/address/ui/PersonCard.java +++ b/src/main/java/seedu/address/ui/PersonCard.java @@ -43,8 +43,6 @@ public class PersonCard extends UiPart { @FXML private Label nextOfKinPhone; @FXML - private Label financialPlansTitle; - @FXML private FlowPane financialPlans; @FXML private Label tagsTitle; @@ -68,7 +66,6 @@ public PersonCard(Person person, int displayedIndex) { nextOfKinName.setText(nextOfKinNameText); String nextOfKinPhoneText = "Next-of-kin Phone: " + person.getNextOfKinPhone().value; nextOfKinPhone.setText(nextOfKinPhoneText); - financialPlansTitle.setText(person.getFinancialPlans().isEmpty() ? "" : "Financial Plan(s): "); person.getFinancialPlans().stream() .sorted(Comparator.comparing(financialPlan -> financialPlan.financialPlanName)) .forEach(financialPlan -> financialPlans.getChildren().add(new Label(financialPlan.financialPlanName))); diff --git a/src/main/resources/view/PersonListCard.fxml b/src/main/resources/view/PersonListCard.fxml index b1c90891990..ca3bc9a883b 100644 --- a/src/main/resources/view/PersonListCard.fxml +++ b/src/main/resources/view/PersonListCard.fxml @@ -28,7 +28,6 @@