From dd95b70c66d042a79b17b79b8433b9da85e8fddc Mon Sep 17 00:00:00 2001 From: ricardo051199 Date: Tue, 3 Sep 2024 20:11:44 -0400 Subject: [PATCH] #7 Perfil de Personal Administrativo - Listado de empleados (correcciones v2) --- .../com/primefactorsolutions/views/EmployeesListView.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/com/primefactorsolutions/views/EmployeesListView.java b/src/main/java/com/primefactorsolutions/views/EmployeesListView.java index e8adeb4..b91c03c 100644 --- a/src/main/java/com/primefactorsolutions/views/EmployeesListView.java +++ b/src/main/java/com/primefactorsolutions/views/EmployeesListView.java @@ -3,7 +3,6 @@ package com.primefactorsolutions.views; import com.primefactorsolutions.model.Employee; import com.primefactorsolutions.service.EmployeeService; import com.vaadin.flow.component.button.Button; -import com.vaadin.flow.component.checkbox.Checkbox; import com.vaadin.flow.component.html.H2; import com.vaadin.flow.component.html.Main; import com.vaadin.flow.router.PageTitle; @@ -44,7 +43,6 @@ public class EmployeesListView extends Main { private void configureTable() { table.setColumns("firstName", "lastName", "status"); addEditButtonColumn("Edit", this::navigateToEditView); - addEditButtonColumn("Save", this::navigateToSaveChangeStatus); setupPagingGrid(); } @@ -76,10 +74,6 @@ public class EmployeesListView extends Main { getUI().ifPresent(ui -> ui.navigate(EmployeeView.class, "new")); } - private void navigateToSaveChangeStatus(Employee employee) { - // no-op - } - private void setupPagingGrid() { table.setPaginationBarMode(PagingGrid.PaginationBarMode.BOTTOM); table.setPageSize(5);