Skip to content

Commit 50e3bd4

Browse files
committed
Add guard against undefined source
1 parent 8aa6be4 commit 50e3bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/app/components/list-table.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class ListTable extends Component {
1313
// Plan for a future with metadata (e.g., isSelected)
1414
@computed('source.[]')
1515
get decoratedSource() {
16-
return this.source.map(row => ({
16+
return (this.source || []).map(row => ({
1717
model: row,
1818
}));
1919
}

0 commit comments

Comments
 (0)