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

Only show hierarchy button when Image is selected #413

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

will-moore
Copy link
Member

Fixes #405.

The hierarchy button that loads Projects and Datasets for an Image has never worked with other types of objects OR with multiple objects (see issue above).
This PR simply hides the button unless an Image is selected.

To test:

  • Select 1 image - button is visible and works (NB: also shown for a Well, although it reports 'Not in Projects/Datasets - no change in behaviour here).
  • Select multiple images or other objects - button is not shown

@pwalczysko
Copy link
Member

tested on merge-ci. Behaves as described. LGTM

@jburel jburel merged commit 59ec465 into ome:master Dec 14, 2022
@will-moore will-moore added this to the 5.17.0 milestone Dec 15, 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.

Large Selection of images: Show parent Projects and Datasets
3 participants