From 322e09210e009f16bf48326a0d75bc1ab3fbcf6f Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 18 Aug 2015 17:06:23 +0800 Subject: [PATCH] close button should be visible at downloading status --- components/upload/uploadList.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/upload/uploadList.jsx b/components/upload/uploadList.jsx index df8daad5b1..8b83dfcc94 100644 --- a/components/upload/uploadList.jsx +++ b/components/upload/uploadList.jsx @@ -39,13 +39,13 @@ export default React.createClass({ render() { var items = this.state.items; var downloadItem = (file) => { - var statusIcon = file.status === 'done' ? : ; - var closeIcon = file.status === 'done' ? : ''; + var statusIcon = file.status === 'done' ? : ; return (
{statusIcon} {file.filename} - {closeIcon} +
); };