mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that Partitioned tables should be visible correctly when creating multiple partition levels. Fixes #7085
This commit is contained in:
committed by
Akshay Joshi
parent
e38c38cd58
commit
d2457f2a1d
@@ -171,6 +171,7 @@ export class ManageTreeNodes {
|
||||
}
|
||||
_path = _parent;
|
||||
}
|
||||
_partitions = _partitions.reverse();
|
||||
// Replace the table with the last partition as in reality partition node is not child of the table
|
||||
if(_partitions.length > 0) _parent_path[0] = _partitions[_partitions.length-1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user