forked from ddrilling/asb_cloud_front
Исправлено отображение лого в таблице участники
This commit is contained in:
parent
983155e0fa
commit
a5e94816e5
@ -12,7 +12,7 @@ const columns = [
|
|||||||
const CompaniesTable = memo(({companies}) => {
|
const CompaniesTable = memo(({companies}) => {
|
||||||
const dataCompanies = useMemo(() => companies?.map((company) => ({
|
const dataCompanies = useMemo(() => companies?.map((company) => ({
|
||||||
key: company.id,
|
key: company.id,
|
||||||
logo: companies?.logo ? <img src={companies.logo}/> : <BankOutlined/>,
|
logo: company?.logo ? <img src={company.logo}/> : <BankOutlined/>,
|
||||||
caption: company.caption,
|
caption: company.caption,
|
||||||
companyTypeCaption: company.companyTypeCaption,
|
companyTypeCaption: company.companyTypeCaption,
|
||||||
})), [companies])
|
})), [companies])
|
||||||
|
Loading…
Reference in New Issue
Block a user