Skip to content

Commit

Permalink
Add icon to code variables
Browse files Browse the repository at this point in the history
  • Loading branch information
martmull committed Dec 13, 2024
1 parent c3c44ea commit 18b20df
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ export const getFunctionOutputSchema = (testResult: object) => {
if (isObject(value) && !Array.isArray(value)) {
acc[key] = {
isLeaf: false,
icon: 'IconVariable',
value: getFunctionOutputSchema(value),
};
} else {
acc[key] = {
isLeaf: true,
value,
type: getValueType(value),
icon: 'IconVariable',
};
}
return acc;
Expand Down

0 comments on commit 18b20df

Please sign in to comment.