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

Bugfix: Allow breadcrumb for variant root items #2482

Merged

Conversation

madsrasmussen
Copy link
Contributor

Description

We currently get a js error in the console when creating a document in the root. This is caused because the unique is null and we throw an error when falsy. This fix changes the code to only check for undefined.

Screenshot 2024-10-24 at 12 09 59

How to test

  • Create a document in the root. You will see the error in the console.
  • After the fix is applied the error is gone.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

@leekelleher leekelleher merged commit 373d0d6 into release/15.0 Oct 24, 2024
9 checks passed
@leekelleher leekelleher deleted the v15/hotfix/allow-breadcrumbs-for-root-items branch October 24, 2024 10:25
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