Adjust employee name column parsing

This commit is contained in:
2026-06-12 16:05:09 +02:00
parent f7401ccf18
commit f83830dedf
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -387,8 +387,8 @@ class AgrarmonitorConnector {
return { return {
id: this.parseNumber(row.getAttribute('data-id') ?? row.id), id: this.parseNumber(row.getAttribute('data-id') ?? row.id),
nummer: cells[0]?.textContent?.trim() ?? '', nummer: cells[0]?.textContent?.trim() ?? '',
nachname: cells[1]?.textContent?.trim() ?? '', nachname: cells[2]?.textContent?.trim() ?? '',
vorname: cells[2]?.textContent?.trim() ?? '', vorname: cells[3]?.textContent?.trim() ?? '',
aktiv: Boolean(row.querySelector('td.toggle .fa-check, td.toggle .text-green')), aktiv: Boolean(row.querySelector('td.toggle .fa-check, td.toggle .text-green')),
}; };
}); });
+2 -2
View File
@@ -532,8 +532,8 @@ export class AgrarmonitorConnector implements AgrarmonitorConnectorResult {
return { return {
id: this.parseNumber(row.getAttribute('data-id') ?? row.id), id: this.parseNumber(row.getAttribute('data-id') ?? row.id),
nummer: cells[0]?.textContent?.trim() ?? '', nummer: cells[0]?.textContent?.trim() ?? '',
nachname: cells[1]?.textContent?.trim() ?? '', nachname: cells[2]?.textContent?.trim() ?? '',
vorname: cells[2]?.textContent?.trim() ?? '', vorname: cells[3]?.textContent?.trim() ?? '',
aktiv: Boolean(row.querySelector('td.toggle .fa-check, td.toggle .text-green')), aktiv: Boolean(row.querySelector('td.toggle .fa-check, td.toggle .text-green')),
}; };
}); });