fix: avoid error when row object missing field
This commit is contained in:
parent
3cc37bea30
commit
c230536e49
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ class Grid(WuttaGrid):
|
|||
|
||||
try:
|
||||
return obj[column_name]
|
||||
except TypeError:
|
||||
except (TypeError, KeyError):
|
||||
pass
|
||||
|
||||
def render_currency(self, obj, column_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue