Filter the script library and show customer context across pages
This commit is contained in:
@@ -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>)}
|
||||
|
||||
Reference in New Issue
Block a user