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(ms2/modeler): check selected id to avoid unwanted buttons with current root #485

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

FelipeTrost
Copy link
Contributor

@FelipeTrost FelipeTrost commented Feb 12, 2025

Summary

Bug Fix: after opening a collapsed subprocess with the button Open subprocess, the button does not automatically disappear if inside the subprocess

This happens because when there is no element selected we take the root, for the case of a collapsed process the root is a subprocess which results in the button being displayed.
The fix is to check if there also is a selectedId, so that we can be sure, that the user actually selected an element.

closes #473

This comment has been minimized.

Copy link

github-actions bot commented Mar 3, 2025

CLOUDRUN ACTIONS

✅ Successfully created Preview Deployment.

https://pr-485---ms-server-staging-c4f6qdpj7q-ew.a.run.app

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.

BPMN Editor - Changes
1 participant