SenseNet / sn-client

Monorepo for sensenet client packages 🐱‍💻
https://sensenet.com
GNU General Public License v2.0
25 stars 37 forks source link

[BUG] Empty dropdown on Add new query #970

Closed enikonemeth closed 3 years ago

enikonemeth commented 3 years ago

There is an empty dropdown under Add new button when I want to add a new query. I could add new query in search menu so the expected behaviour should be that I can also add new query form content menu.

📦 Package / Application

admin-ui

👉 Steps To Reproduce

  1. Go to search menu
  2. Type +InFolder:'/Root' to the input field
  3. Click on Save query
  4. Click on save
  5. Go to content menu
  6. Click on Queries in the tree --> The newly saved query is in the list but when I click on Add new button nothing is there in the dropdown

😯 Current behavior

Empty dropdown

🤔 Expected behavior

  1. Add new dropdown should contain Query item
  2. If there is an empty list dropdown should contain this message: "No action available" (or smth similar)

🖼 Screenshots

image

enikonemeth commented 3 years ago

I had to add permission to Public/Administrators for Query :

https://tfs.sensenet.com/SenseNetProductTeam/SenseNet/_git/snaas-services/pullrequest/79?_a=overview