feat: deal attributes with select and options
This commit is contained in:
@ -27,6 +27,10 @@ const useAttributesInnerTableColumns = () => {
|
||||
{
|
||||
title: "Тип",
|
||||
accessor: "type.name",
|
||||
render: attr =>
|
||||
attr.type.type === "select"
|
||||
? `Выбор "${attr.label}"`
|
||||
: attr.type.name,
|
||||
},
|
||||
{
|
||||
title: "Значение по умолчанию",
|
||||
|
||||
Reference in New Issue
Block a user