mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure server connection is successful for sslrootcert=system in server configuration. #7907
This commit is contained in:
@@ -65,7 +65,7 @@ export class FileTreeItem extends React.Component<IItemRendererXProps & IItemRen
|
||||
? 'file'
|
||||
: 'directory';
|
||||
|
||||
if (this.props.item.parent?.path) {
|
||||
if (this.props.item.parent?.parent && this.props.item.parent?.path) {
|
||||
this.props.item.resolvedPathCache = this.props.item.parent.path + '/' + this.props.item._metadata.data.id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user