Fix an issue where type column in dependents/dependencies tab is not showing correct label. #7225

This commit is contained in:
Aditya Toshniwal
2024-02-20 16:23:05 +05:30
parent 10929157b4
commit 721290b1e9
3 changed files with 10 additions and 5 deletions

View File

@@ -88,6 +88,9 @@ function Dependents({ nodeData, nodeItem, node, treeNodeInfo, isActive, isStale,
sortable: true,
resizable: true,
disableGlobalFilter: false,
Cell: ({row})=>{
return pgAdmin.Browser.Nodes?.[row.original.type]?.label??row.original.type;
}
},
{
Header: 'Name',