Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix: do not duplicate labels for aborted reference connects
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed Sep 10, 2018
1 parent cc80ac6 commit 12d29a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/container/property-list/reference-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export class ReferenceSelect extends React.Component<ReferenceSelectProps> {

const showPropertySelect = userStoreReference && userStoreReference.getOpen();

const showReference = userStoreReference && !userStoreReference.getOpen();
const showReference =
userStoreReference && !userStoreReference.getOpen() && referencedUserStoreProperty;

return (
<Components.RelativeArea>
Expand Down

0 comments on commit 12d29a9

Please sign in to comment.