pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.27k stars 611 forks source link

Server node context menu shows database node context menu options #7612

Open anilsahoo20 opened 1 week ago

anilsahoo20 commented 1 week ago

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

When we right click on the server node, it shows the database node context menu. This issue only comes when the database node is expanded and we closed the pgAdmin application and reopen it and right click on the server node.

To Reproduce

Steps to reproduce the behavior:

  1. Expand any database
  2. Select server
  3. Close pgAdmin
  4. Re-open it again
  5. Expand the server group
  6. Expand the server
  7. right click on the server
  8. See the context menu it shows the database context menu options

Expected behavior

It must show the server context menu options.

Error message

No error message

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):