Created
August 27, 2019 07:52
-
-
Save ohtangza/649bb3ecf15b6a464915ede29ecfd35c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
languageChoices.map(choice => ( | |
filterValues.languageCode === choice.id && | |
<Datagrid {...props} ids={this.state[choice.id]}> | |
<TextField source="text" /> | |
<ReferenceField source="contentId" reference="contents"> | |
<TextField source="title" /> | |
</ReferenceField> | |
<BooleanField source="keepable" /> | |
<TextField source="languageCode" /> | |
<BooleanField source="notificationEnabled" /> | |
<TextField source="startTime" /> | |
<TextField source="endTime" /> | |
<EditButton /> | |
</Datagrid> | |
)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment