Skip to content

Commit

Permalink
fixed expression builder dialog for the user properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Oct 17, 2024
1 parent b111039 commit 64db4da
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/project-editor/flow/user-property.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,9 @@ function getPropertyInfoForUserProperty(
params?: IOnSelectParams
) => {
(object as any)._eez_parent = parent;

await onSelect(object, propertyInfo, params);

const result = await onSelect(object, propertyInfo, params);
delete (object as any)._eez_parent;
return result;
};

return propertyInfo;
Expand Down

0 comments on commit 64db4da

Please sign in to comment.