aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/downloadManager
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-12-03 19:32:14 -0700
committerLibravatar GitHub <noreply@github.com>2023-12-03 19:32:14 -0700
commit1a4119f2f6cf13e30db0baa00bbb29355e1dae93 (patch)
tree5318a894513bb93e1d1897dfc84a52f62779d88f /src/components/downloadManager
parent6.6.1-nightly.16 [skip ci] (diff)
downloadferdium-app-1a4119f2f6cf13e30db0baa00bbb29355e1dae93.tar.gz
ferdium-app-1a4119f2f6cf13e30db0baa00bbb29355e1dae93.tar.zst
ferdium-app-1a4119f2f6cf13e30db0baa00bbb29355e1dae93.zip
chore: project maintenance (#1466)
- temporarily disable newly introduced `jsx-a11y/control-has-associated-label` rule - add `--quiet` flag to lint command to see issues with error level only - reuse `lint` command for `lint:fix` command - use `--cache` flag for `prettier` and `eslint` commands - upgrade all non-major dependencies to latest except for `esbuild` - run `pnpm dedupe` to simplify lockfile - autofix various `.ts` and `.tsx` files with `pnpm prepare-code` command - disable newly discovered lint issue in `SearchInput`
Diffstat (limited to 'src/components/downloadManager')
-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>