mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-08 04:05:00 -05:00
Fixed an issue where non-super PostgreSQL users are not able to terminate their own connections from dashboard. #6836
This commit is contained in:
@@ -192,7 +192,10 @@ export default function FormView({
|
||||
depListener.addDepListener(accessPath.concat(field.id), accessPath.concat(field.id), field.depChange, field.deferredDepChange);
|
||||
}
|
||||
(evalFunc(null, field.deps) || []).forEach((dep)=>{
|
||||
// when dep is a string then prepend the complete accessPath
|
||||
let source = accessPath.concat(dep);
|
||||
|
||||
// but when dep is an array, then the intention is to provide the exact accesspath
|
||||
if(_.isArray(dep)) {
|
||||
source = dep;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user