mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed indexes not loading in Primary constraint and Unique constraint dialog for partition.
refs #6868
This commit is contained in:
committed by
Akshay Joshi
parent
5467b5e085
commit
a92bad7909
@@ -105,7 +105,7 @@ define('pgadmin.node.primary_key', [
|
||||
spcname: ()=>getNodeListByName('tablespace', treeNodeInfo, itemNodeData, {}, (m)=>{
|
||||
return (m.label != 'pg_global');
|
||||
}),
|
||||
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData),
|
||||
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData, {jumpAfterNode: 'schema'}),
|
||||
}, treeNodeInfo);
|
||||
},
|
||||
// Define the model for index constraint node
|
||||
|
||||
@@ -91,7 +91,7 @@ define('pgadmin.node.unique_constraint', [
|
||||
spcname: ()=>getNodeListByName('tablespace', treeNodeInfo, itemNodeData, {}, (m)=>{
|
||||
return (m.label != 'pg_global');
|
||||
}),
|
||||
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData),
|
||||
index: ()=>getNodeListByName('index', treeNodeInfo, itemNodeData, {jumpAfterNode: 'schema'}),
|
||||
}, treeNodeInfo);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user