Skip to content

Commit 263b8f0

Browse files
authored
fix(designer): Add property check for content in inputs/outputs object (Azure#3225)
Add property check for content in inputs/outputs object
1 parent b3504e0 commit 263b8f0

File tree

1 file changed

+1
-1
lines changed
  • libs/services/designer-client-services/src/lib/standard

1 file changed

+1
-1
lines changed

libs/services/designer-client-services/src/lib/standard/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class StandardRunService implements IRunService {
263263
: response;
264264

265265
return Object.keys(dictionaryResponse).reduce((prev, current) => {
266-
return { ...prev, [current]: { displayName: current, value: dictionaryResponse[current].content ?? dictionaryResponse[current] } };
266+
return { ...prev, [current]: { displayName: current, value: dictionaryResponse[current]?.content ?? dictionaryResponse[current] } };
267267
}, {});
268268
}
269269

0 commit comments

Comments
 (0)