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

Menu elements missing on cluster with many namespaces #6613

Closed
ahippler opened this issue Nov 18, 2022 · 0 comments · Fixed by #6614
Closed

Menu elements missing on cluster with many namespaces #6613

ahippler opened this issue Nov 18, 2022 · 0 comments · Fixed by #6614
Labels
bug Something isn't working

Comments

@ahippler
Copy link
Contributor

Describe the bug
Most of the menu entries are missing/hidden.

I looked into the code and only the first 10 namespaces are used to determine the allowed ressources.
https://github.com/lensapp/lens/blob/v6.2.0/src/common/cluster/cluster.ts#L681

To Reproduce

  • connect to cluster with more then 10 namespaces
  • do not grant permissions for the first 10 namespaces
  • menu items are hidden

Expected behavior

  • menu items are shown when permissions are set for any namespace

Screenshots
image

Environment (please complete the following information):

  • Lens Version: v6.2.0
  • OS: OSX 12.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant