fix(helpdesk): replace description column with category in team ticket table

Description is not available on PBI_LV_Tickets. Show Category_1_Code
as its own 'Category' column instead of misusing it as description.
Remove unused ticket-desc CSS class.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 19:39:45 +02:00
parent bfa3f5a154
commit cc1ae1aaca
4 changed files with 5 additions and 14 deletions

View File

@@ -92,8 +92,8 @@ if (container) {
}
tr.appendChild(customerCell);
// Description
tr.appendChild(h('td', 'helpdesk-team-ticket-desc', t.description || '—'));
// Category
tr.appendChild(h('td', '', t.category || '—'));
// Last activity date
tr.appendChild(h('td', 'helpdesk-team-ticket-date', formatDateTime(t.last_activity)));
@@ -129,7 +129,7 @@ if (container) {
const headRow = h('tr');
headRow.appendChild(h('th', '', container.dataset.labelTicket || 'Ticket'));
headRow.appendChild(h('th', '', container.dataset.labelCustomer || 'Customer'));
headRow.appendChild(h('th', '', container.dataset.labelDescription || 'Description'));
headRow.appendChild(h('th', '', container.dataset.labelCategory || 'Category'));
headRow.appendChild(h('th', '', container.dataset.labelLastActivity || 'Last activity'));
thead.appendChild(headRow);
table.appendChild(thead);