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: Deleting a layout bug #3443

Merged
merged 2 commits into from
Nov 12, 2018
Merged

Conversation

MichaelBuessemeyer
Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer commented Nov 9, 2018

This PR fixes a bug that occurs when deleting a layout. It also reworks the css-style to be more better understandable.

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • add some layouts and then delete them
  • everything should work out fine

Bug created in PR:

https://github.com/scalableminds/webknossos/pull/3383/files#diff-ff2acc71d989848faf4cfe1260898069

Issues:

  • none

@MichaelBuessemeyer MichaelBuessemeyer changed the title fixing selecting bug and improving style of layout dropdown Fix: Deleting a layout bug Nov 9, 2018
</React.Fragment>
);
const customLayoutsItems = storedLayoutNamesForView.map(layout => {
const isSelectedLayout = layout === activeLayout;
return (
<Menu.Item
key={layout}
onClick={() => onSelectLayout(layout)}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing this line actually fixed the bug 🙂

@MichaelBuessemeyer MichaelBuessemeyer merged commit fe20e0c into master Nov 12, 2018
jfrohnhofen added a commit that referenced this pull request Nov 22, 2018
* master:
  Fix rgb support (#3455)
  Fix docker uid/gid + binaryData permissions. Persist postgres db (#3428)
  Script to merge volume tracing into on-disk segmentation (#3431)
  Hotfix for editing TaskTypes (#3451)
  fix keyboardjs module (#3450)
  Fix guessed dataset boundingbox for non-zero-aligned datasets (#3437)
  voxeliterator now checks if the passed map has elements (#3405)
  integrate .importjs (#3436)
  Re-write logic for selecting zoom level and support non-uniform buckets per dimension (#3398)
  fixing selecting bug and improving style of layout dropdown (#3443)
  refresh screenshots (#3445)
  Reduce the free space between viewports in tracing (#3333)
  Scala linter and formatter (#3357)
  ignore reported datasets of non-existent organization (#3438)
  Only provide shortcut for tree search and not for comment search (#3407)
  Update Datastore+Tracingstore Standalone Deployment Templates (#3424)
  In yarn refresh-schema, also invalidate Tables.scala (#3430)
  Remove BaseDirService that watched binaryData symlinks (#3416)
  Ensure that resolutions array is dense (#3406)
  Fix bucket-collection related rendering bug (#3409)
@normanrz normanrz deleted the fix-deleting-layout-bug branch February 20, 2019 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants