mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-04 12:36:44 -05:00
Fix validation of object before using it
This commit is contained in:
1 parent
20a22731e0
commit
ac2612264c
1 file changed
+2
-1
@@ -264,7 +264,8 @@ function(_, $, pgBrowser, Backgrid) {
|
||||
name = (columns[idx])['name'];
|
||||
res.push({
|
||||
'statistics': name,
|
||||
'value': row[name]
|
||||
// Check if row is undefined?
|
||||
'value': row && row[name] ? row[name] : null
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user