Bugfix removes the ability to click on individual connections.

If you click on a connection in UserEdit, you will get an empty page.
This solves the problem.
This commit is contained in:
dklimpel 2020-06-16 07:54:49 +02:00 committed by Manuel Stahl
parent 5bdfb80db7
commit 168e249296

View file

@ -176,7 +176,12 @@ export const UserEdit = props => (
label="resources.connections.name" label="resources.connections.name"
icon={<SettingsInputComponentIcon />} icon={<SettingsInputComponentIcon />}
> >
<ReferenceField reference="connections" source="id" addLabel={false}> <ReferenceField
reference="connections"
source="id"
addLabel={false}
link={false}
>
<ArrayField <ArrayField
source="devices[].sessions[0].connections" source="devices[].sessions[0].connections"
label="resources.connections.name" label="resources.connections.name"