From b667ecca0cfa2eecf8cf146be06fd97e969c3e7c Mon Sep 17 00:00:00 2001 From: fs Date: Sun, 5 Apr 2026 20:03:50 +0200 Subject: [PATCH] fix(helpdesk): show 'System' instead of 'Unknown user' for empty actors Ticket log entries without Created_By (e.g. system-generated) now show 'System' instead of 'Unbekannter Benutzer'. Missing timestamps show a dash instead of 'Unbekannte Zeit'. Co-Authored-By: Claude Opus 4.6 (1M context) --- modules/helpdesk/web/js/helpdesk-communication.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/helpdesk/web/js/helpdesk-communication.js b/modules/helpdesk/web/js/helpdesk-communication.js index 0557520..fd7a8c3 100644 --- a/modules/helpdesk/web/js/helpdesk-communication.js +++ b/modules/helpdesk/web/js/helpdesk-communication.js @@ -31,7 +31,7 @@ function entryTimestamp(entry, t) { if (date && time) return `${date} ${time}`; if (entry.timestamp_iso) return entry.timestamp_iso; if (date) return date; - return t('Unknown time'); + return '—'; } function participantRole(entry) { @@ -84,7 +84,7 @@ export function renderCommunicationFeed(entries, options = {}) { let html = '
    '; for (const entry of list) { - const actor = entry.actor || t('Unknown user'); + const actor = entry.actor || 'System'; const typeVariant = entry.type_variant || 'other'; const type = entry.type || ''; const stateSubtype = entry.state_subtype || '';