ghost files fix
@ mention of reviewers`
@Didayolo`
A brief description of the purpose of the changes contained in this PR.
We had a Files bug where if a task had no files, blank objects "{}" in javascript were created as placeholders for the files. Normally these are filled with files but when not they have no info and as such were creating extra UI loops to render the "{}" objects with nothing in them.
This also explains the riot.js errors on prod:
Issues this PR resolves
A checklist for hand testing
-
Create a minimal task with scoring and reference data only. Check that blanks don't appear for any potential datasets.
Any relevant files for testing
Classify_Wheat_Seeds_Jan_2020_vetted.zip
Checklist
-
Code review by me -
Hand tested by me -
I'm proud of my work -
Code review by reviewer -
Hand tested by reviewer -
CircleCi tests are passing -
Ready to merge