From 015c9b3e7ec8b20308fc604d925a6e9c188aa42e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 2 Jun 2018 13:40:43 +0200 Subject: pull in proxy from stone island --- app/client/common/fileList.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/client/common/fileList.component.js') diff --git a/app/client/common/fileList.component.js b/app/client/common/fileList.component.js index ece77ae..87384b6 100644 --- a/app/client/common/fileList.component.js +++ b/app/client/common/fileList.component.js @@ -12,7 +12,7 @@ class FileList extends Component { } render(){ const { files, linkFiles, title, onClick, className="" } = this.props - if (!files.length) return null + if (!files || !files.length) return null let fields = this.props.fields || defaultFields if (typeof fields === 'string') { fields = new Set(fields.split(' ')) -- cgit v1.2.3-70-g09d2