mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix validation of object before using it
This commit is contained in:
committed by
Dave Page
parent
20a22731e0
commit
ac2612264c
@@ -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