Skip to content

Commit 33899db

Browse files
committed
Fix response unpacking in Single Choice Editable
CMK-22330 Change-Id: Idc4418a779d4c85149d4976aa1c9d477257ab497
1 parent 258b72c commit 33899db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cmk-frontend-vue/src/form/components/utils/configuration_entity.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const configEntityAPI = {
7777
LIST_CONFIG_ENTITIES(entityType, entityTypeSpecifier),
7878
'GET'
7979
)
80-
const values: { id: string; title: string }[] = await response.json()
80+
const values: { id: string; title: string }[] = (await response.json()).value
8181
await response.raiseForStatus()
8282
const entities = values.map((entity) => ({
8383
ident: entity.id,

0 commit comments

Comments
 (0)