feat: deal attributes with select and options
This commit is contained in:
@ -20,6 +20,10 @@ const useAttributesTableColumns = () => {
|
||||
{
|
||||
title: "Тип",
|
||||
accessor: "type.name",
|
||||
render: attr =>
|
||||
attr.type.type === "select"
|
||||
? `Выбор "${attr.label}"`
|
||||
: attr.type.name,
|
||||
},
|
||||
{
|
||||
accessor: "actions",
|
||||
|
||||
Reference in New Issue
Block a user