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

Unable to delete empty folders on Grafana dashboards #42486

Closed
mary-sitzenstatter opened this issue Nov 29, 2021 · 1 comment · Fixed by #42527
Closed

Unable to delete empty folders on Grafana dashboards #42486

mary-sitzenstatter opened this issue Nov 29, 2021 · 1 comment · Fixed by #42527

Comments

@mary-sitzenstatter
Copy link

@darrenjaneczek and I found what we think is a bug.

Scenario: we are trying to delete an empty folder Dashboards > Manage.

  1. Select checkbox for empty folder
  2. Observe: Delete and Move buttons do not appear.

Please see attached video for more details.

Mary._.Darren.2021-11-29.at.11_22.GMT-8.mp4
@dprokop
Copy link
Member

dprokop commented Nov 30, 2021

Caused by the memoization here that invalidates the function only on results/canMove changed.

Same issue happens if you try to select and delete a non-empty dashboard that wasn't expanded in the list.

@ashharrison90 ashharrison90 self-assigned this Nov 30, 2021
@ashharrison90 ashharrison90 added this to In Review (max internal 8, max external 3) in User essentials squad (deprecated) Nov 30, 2021
User essentials squad (deprecated) automation moved this from In Review (max internal 8, max external 3) to Done Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
3 participants