diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 13:40:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 13:40:43 +0200 |
| commit | 015c9b3e7ec8b20308fc604d925a6e9c188aa42e (patch) | |
| tree | 54dab9950e6dd73e1333f2e080cb123d4c1d9c1e /app/client/common/fileList.component.js | |
| parent | a6a529a5757417906f6df60ca7557fac3a380966 (diff) | |
pull in proxy from stone island
Diffstat (limited to 'app/client/common/fileList.component.js')
| -rw-r--r-- | app/client/common/fileList.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(' ')) |
