Skip to content

Commit

Permalink
refs #941. Ignores orpaned exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Littman committed Jul 25, 2018
1 parent f010ad1 commit 8309074
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sfm/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,8 @@ def get_context_data(self, **kwargs):
for export in exports:
seeds = list(export.seeds.all())
collection = seeds[0].collection if seeds else export.collection
export_list.append((collection.collection_set, collection, export))
if collection:
export_list.append((collection.collection_set, collection, export))
context['export_list'] = export_list
return context

Expand Down

0 comments on commit 8309074

Please sign in to comment.