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
clean-sidebar
: can't access property "nextElementSibling", header is null
#3134
Comments
That’s strange, I regularly test the feature on this repo and Projects are disabled here too. Are you sure it’s erroring on Projects specifically? The dropdown also includes the user’s project so it should always appear since they can’t be disabled. |
Can you post a screenshot of your sidebar with RGH disabled and projects disabled? |
I can’t replicate, but my guess is that the container itself is missing. Let’s add a |
I can’t replicate, but my guess is that the container itself is missing. Let’s add a |
When having a repository with "projects" turned off, this
header
is null https://github.com/sindresorhus/refined-github/blob/173e39faf0fadc97e134d06d61911ebd86b418fb/source/features/clean-sidebar.tsx#L37-L43but there is only a null check for
nextElementSibling
and notheader
A link to a repo is not so valuable as you have to be an owner of the repo in order to see this bug. 😛
The text was updated successfully, but these errors were encountered: