mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 04:05:13 +00:00
fix: value undefined in CollectionCategory
This commit is contained in:
parent
b43ee20326
commit
af3ef28656
@ -9,7 +9,7 @@ export const CollectionCategory = observer(
|
|||||||
const compile = useCompile();
|
const compile = useCompile();
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{value.map((item) => {
|
{value?.map((item) => {
|
||||||
return (
|
return (
|
||||||
<Tag key={item.name} color={item.color}>
|
<Tag key={item.name} color={item.color}>
|
||||||
{compile(item?.name)}
|
{compile(item?.name)}
|
||||||
|
Loading…
Reference in New Issue
Block a user