Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable NameProps on DataAssociations #566

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

Skaiir
Copy link
Contributor

@Skaiir Skaiir commented Feb 3, 2022

Related to camunda/camunda-modeler#2333

Changing our approach for this one, reasons for which are detailed here: bpmn-io/bpmn-moddle#91

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Feb 3, 2022
@@ -25,7 +25,7 @@ export function NameProps(props) {
element
} = props;

if (is(element, 'bpmn:Collaboration')) {
if (is(element, 'bpmn:Collaboration') || is(element, 'bpmn:DataOutputAssociation') || is(element, 'bpmn:DataInputAssociation')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (is(element, 'bpmn:Collaboration') || is(element, 'bpmn:DataOutputAssociation') || is(element, 'bpmn:DataInputAssociation')) {
if (is(element, 'bpmn:Collaboration') || is(element, 'bpmn:DataAssociation')) {

@Skaiir Skaiir force-pushed the 2333-remove-association-name-prop branch from 8e85dcb to 1fadd30 Compare February 3, 2022 18:28
@Skaiir Skaiir requested a review from barmac February 3, 2022 19:18
Copy link
Contributor

@pinussilvestrus pinussilvestrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@fake-join fake-join bot merged commit febe5d9 into master Feb 7, 2022
@fake-join fake-join bot deleted the 2333-remove-association-name-prop branch February 7, 2022 12:04
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants