summaryrefslogtreecommitdiffstats
path: root/src/components/downloadManager/DownloadManagerDashboard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/downloadManager/DownloadManagerDashboard.tsx')
-rw-r--r--src/components/downloadManager/DownloadManagerDashboard.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/downloadManager/DownloadManagerDashboard.tsx b/src/components/downloadManager/DownloadManagerDashboard.tsx
index 86facc476..25e73d48f 100644
--- a/src/components/downloadManager/DownloadManagerDashboard.tsx
+++ b/src/components/downloadManager/DownloadManagerDashboard.tsx
@@ -138,10 +138,10 @@ class DownloadManagerDashboard extends Component<IProps, IState> {
138 ? null 138 ? null
139 : 'Paused' 139 : 'Paused'
140 : state === 'cancelled' 140 : state === 'cancelled'
141 ? 'Cancelled' 141 ? 'Cancelled'
142 : state === 'completed' 142 : state === 'completed'
143 ? null 143 ? null
144 : 'Error'; 144 : 'Error';
145 145
146 return ( 146 return (
147 <Card 147 <Card
@@ -181,8 +181,8 @@ class DownloadManagerDashboard extends Component<IProps, IState> {
181 stateParse !== null && stateParse !== 'Paused' 181 stateParse !== null && stateParse !== 'Paused'
182 ? 'line-through' 182 ? 'line-through'
183 : state === 'completed' 183 : state === 'completed'
184 ? 'underline' 184 ? 'underline'
185 : null, 185 : null,
186 }} 186 }}
187 > 187 >
188 {filename} 188 {filename}
@@ -195,8 +195,8 @@ class DownloadManagerDashboard extends Component<IProps, IState> {
195 {stateParse !== null && stateParse !== 'Paused' 195 {stateParse !== null && stateParse !== 'Paused'
196 ? stateParse 196 ? stateParse
197 : stateParse === 'Paused' 197 : stateParse === 'Paused'
198 ? stateParse 198 ? stateParse
199 : null} 199 : null}
200 </Typography> 200 </Typography>
201 </Box> 201 </Box>
202 <Typography variant="body2">{url}</Typography> 202 <Typography variant="body2">{url}</Typography>