Skip to content

Commit

Permalink
Catch potential missing element (#7059)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Apr 17, 2024
1 parent 0ba7f7e commit c823f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/InvenTree/common/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def set_form_table_data(self, form=None):
for idx, item in row_data.items():
column_data = {
'name': self.column_names[idx],
'guess': self.column_selections[idx],
'guess': self.column_selections.get(idx, ''),
}

cell_data = {'cell': item, 'idx': idx, 'column': column_data}
Expand Down

0 comments on commit c823f14

Please sign in to comment.