diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/downloadManager/DownloadManagerDashboard.tsx | 16 | ||||
-rw-r--r-- | src/components/ui/SearchInput.tsx | 1 |
2 files changed, 9 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> |
diff --git a/src/components/ui/SearchInput.tsx b/src/components/ui/SearchInput.tsx index 39b8f95bf..b2caaa1de 100644 --- a/src/components/ui/SearchInput.tsx +++ b/src/components/ui/SearchInput.tsx | |||
@@ -82,6 +82,7 @@ class SearchInput extends Component<IProps, IState> { | |||
82 | 82 | ||
83 | return ( | 83 | return ( |
84 | <div className={classnames([className, 'search-input'])}> | 84 | <div className={classnames([className, 'search-input'])}> |
85 | {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */} | ||
85 | <label htmlFor={name}> | 86 | <label htmlFor={name}> |
86 | <Icon icon={mdiMagnify} /> | 87 | <Icon icon={mdiMagnify} /> |
87 | <input | 88 | <input |