mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
e4199c278e
commit
7ba48635e5
@ -39,7 +39,11 @@ const COLUMNS = [
|
||||
{
|
||||
Header: T.Label,
|
||||
id: 'label',
|
||||
accessor: 'USER_TEMPLATE.LABELS',
|
||||
accessor: (row) => {
|
||||
const labels = row?.USER_TEMPLATE?.LABELS?.split(',') ?? []
|
||||
|
||||
return labels.map((label) => label?.trim()?.toUpperCase()).join(',')
|
||||
},
|
||||
filter: 'includesSome',
|
||||
},
|
||||
{ Header: T.Type, id: 'type', accessor: getType },
|
||||
|
Loading…
x
Reference in New Issue
Block a user