Projektarten: Art beim Zuweisen und nach Repo-Anlage
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8653756935
commit
c16049d266
4 files changed
+92
-9
No files matched your search
@@ -55,3 +55,9 @@ export function openTicketsFor(tickets, customerId) {
|
||||
(t) => t.customerId === customerId && t.status !== 'Closed' && t.status !== 'Cancelled'
|
||||
)
|
||||
}
|
||||
|
||||
// Art-Label fuer die Anzeige; leere Art = "Art fehlt"
|
||||
export function kindLabelFor(kinds, key) {
|
||||
if (!key) return 'Art fehlt'
|
||||
return (kinds || []).find((k) => k.key === key)?.label || key
|
||||
}
|
||||
Reference in new issue
Block a user