mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the dependent tab throwing an error when selecting any login/group role. Fixes #6294
This commit is contained in:
@@ -1106,7 +1106,7 @@ rolmembership:{
|
||||
# a new connection to run the query and fetch the dependents.
|
||||
is_connected = True
|
||||
try:
|
||||
temp_conn = manager.connection(db_row['datname'])
|
||||
temp_conn = manager.connection(database=db_row['datname'])
|
||||
is_connected = temp_conn.connected()
|
||||
if not is_connected:
|
||||
temp_conn.connect()
|
||||
|
||||
Reference in New Issue
Block a user