mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
@@ -34,9 +34,10 @@
|
||||
_id: type.of
|
||||
},
|
||||
(res) => {
|
||||
items = res[0]?.enumValues?.map((p) => {
|
||||
return { id: p, label: p }
|
||||
})
|
||||
items =
|
||||
res[0]?.enumValues?.map((p) => {
|
||||
return { id: p, label: p }
|
||||
}) ?? []
|
||||
},
|
||||
{ limit: 1 }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user