Created
September 17, 2020 22:20
-
-
Save SergeyMell/2c8b6fa3cff00256d19664860fb46d1e to your computer and use it in GitHub Desktop.
TypeORM joined tables in AdminBro back office
This file contains hidden or 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
import * as React from 'react'; | |
import { Box } from 'admin-bro' | |
const PropertyItem = (props) => { | |
const { join, param } = props.property.custom; | |
return ( | |
<Box>{props.record.populated[join].params[param]}</Box> | |
) | |
} | |
export default PropertyItem; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment