1 parent 161816d commit d1bf4ffCopy full SHA for d1bf4ff
1 file changed
src/main/java/ui/ViewEmployees.java
@@ -5,6 +5,7 @@
5
package ui;
6
7
import entities.Position;
8
+import entities.enums.EmployeeFetchType;
9
import entities.enums.Windows;
10
import entry.HumanResourceInformationSystem;
11
import lombok.extern.slf4j.Slf4j;
@@ -47,7 +48,7 @@ public ViewEmployees() {
47
48
49
private static void initNewEmployeesToTable(DefaultTableModel model) {
50
HumanResourceInformationSystem.EMPLOYEE_SERVICE
- .getEmployees()
51
+ .getEmployees(EmployeeFetchType.ONLY_NOT_SOFT_DELETED)
52
.thenCompose(employees -> {
53
// Wait for all row additions to complete
54
return CompletableFuture.allOf(employees.values()
0 commit comments