Filter the script library and show customer context across pages

This commit is contained in:
2026-11-18 09:28:11 +01:00
parent f8e5865412
commit 97ef5783c1
7 changed files with 97 additions and 22 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export function ApprovalInbox({ open, ownId }: { ownId: string; open: (tenantId:
{v === 'pending' ? 'Offen' : 'Verlauf'}
</button>)}
</div>
<div className="filters"><label>Kunde<select aria-label="Kunde im Genehmigungseingang" value={customer}
<div className="filters"><label>Kunde im Genehmigungseingang<select aria-label="Kunde im Genehmigungseingang" value={customer}
onChange={e => { setCustomer(e.target.value); setPages([]); }}>
<option value="">Alle berechtigten Kunden</option>
{list.data?.customers.map(c => <option key={c.tenant_id} value={c.tenant_id}>{c.name}</option>)}