use clientId instead of id to save client (#30523)
fixes: #30436 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
3f25635c3f
commit
8d0e03a271
1 changed files with 1 additions and 4 deletions
|
@ -57,10 +57,7 @@ export const ClientSelect = ({
|
||||||
onFilter={(value) => setSearch(value)}
|
onFilter={(value) => setSearch(value)}
|
||||||
variant={variant}
|
variant={variant}
|
||||||
isDisabled={isDisabled}
|
isDisabled={isDisabled}
|
||||||
options={clients.map(({ id, clientId }) => ({
|
options={clients.map(({ clientId }) => clientId!)}
|
||||||
key: id!,
|
|
||||||
value: clientId!,
|
|
||||||
}))}
|
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue