Refactor employee table and row components

Migrates custom table components to generic data table
Improves consistency in table and row implementations
Removes legacy custom table elements in favor of more flexible data table approach
This commit is contained in:
Janus C. H. Knudsen 2026-01-14 16:53:42 +01:00
parent 5e2cab9bd5
commit 679c3fb3a6
7 changed files with 1257 additions and 1256 deletions

View file

@ -116,7 +116,7 @@ export class EmployeesController {
return;
}
const row = target.closest<HTMLElement>('swp-employee-row[data-employee-detail]');
const row = target.closest<HTMLElement>('swp-data-table-row[data-employee-detail]');
if (row) {
const employeeKey = row.dataset.employeeDetail;