#4-Registro-de-Información-Personal #16
@ -300,7 +300,8 @@ public class EmployeeView extends BeanValidationForm<Employee> implements HasUrl
|
||||
return List.of(
|
||||
mt, fs, firstName, lastName, status, birthday, birthCity, maritalStatus,
|
||||
residenceAddress, phoneNumber, personalEmail, position, team, ss, emergencyCName,
|
||||
emergencyCAddress, emergencyCPhone, emergencyCEmail, si, upload, profileImagePreview, saveButton, editButton
|
||||
emergencyCAddress, emergencyCPhone, emergencyCEmail, si, upload, profileImagePreview,
|
||||
saveButton, editButton
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -45,11 +45,6 @@ public class EmployeesListView extends Main {
|
||||
addEditButtonColumn("View", this::navigateToEmployeeView);
|
||||
addEditButtonColumn("Edit", this::navigateToEditView);
|
||||
setupPagingGrid();
|
||||
|
||||
table.addItemDoubleClickListener(event -> {
|
||||
Employee employee = event.getItem();
|
||||
navigateToEditView(employee);
|
||||
});
|
||||
}
|
||||
alex marked this conversation as resolved
Outdated
|
||||
|
||||
private void updateEmployeeStatus(final Employee employee, final boolean isActive) {
|
||||
|
Loading…
Reference in New Issue
Block a user
no es necesario agregar esto porque ya existe el boton edit que navega a la vista edit.