Skip to content

Instantly share code, notes, and snippets.

@SergeyMell
Created September 17, 2020 22:20
Show Gist options
  • Save SergeyMell/2c8b6fa3cff00256d19664860fb46d1e to your computer and use it in GitHub Desktop.
Save SergeyMell/2c8b6fa3cff00256d19664860fb46d1e to your computer and use it in GitHub Desktop.
TypeORM joined tables in AdminBro back office
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