From 24056192f6fbcf0d3702bbaa058f994554fd12e7 Mon Sep 17 00:00:00 2001 From: effe Date: Tue, 10 Sep 2024 09:56:12 -0400 Subject: [PATCH] refactor: changed label --- .../java/com/application/munera/views/people/PeopleView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/application/munera/views/people/PeopleView.java b/src/main/java/com/application/munera/views/people/PeopleView.java index 8ee4e71..fa44f8a 100644 --- a/src/main/java/com/application/munera/views/people/PeopleView.java +++ b/src/main/java/com/application/munera/views/people/PeopleView.java @@ -77,7 +77,7 @@ public class PeopleView extends Div implements BeforeEnterObserver { grid.addThemeVariants(GridVariant.LUMO_NO_BORDER); grid.addHierarchyColumn(this::getNodeName).setHeader("Name"); - grid.addColumn(this::getNodeCost).setHeader("Total Expenses Value").setSortable(true); + grid.addColumn(this::getNodeCost).setHeader("Balance").setSortable(true); grid.addColumn(new ComponentRenderer<>(persona -> { if (persona instanceof Person) return this.viewsService.createPersonBadge(personService.calculateNetBalance((Person) persona)); else return this.viewsService.createExpenseBadge(((Expense) persona));