diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/server/ServerApi.ts | 1 | ||||
-rw-r--r-- | src/components/downloadManager/DownloadManagerDashboard.tsx | 16 | ||||
-rw-r--r-- | src/components/ui/SearchInput.tsx | 1 | ||||
-rw-r--r-- | src/features/workspaces/components/WorkspaceItem.tsx | 1 | ||||
-rw-r--r-- | src/stores/AppStore.ts | 4 |
5 files changed, 11 insertions, 12 deletions
diff --git a/src/api/server/ServerApi.ts b/src/api/server/ServerApi.ts index c6cbbd2e2..6e4485cfb 100644 --- a/src/api/server/ServerApi.ts +++ b/src/api/server/ServerApi.ts | |||
@@ -542,7 +542,6 @@ export default class ServerApi { | |||
542 | return Promise.all( | 542 | return Promise.all( |
543 | services.map(async (service: any) => this._prepareServiceModel(service)), | 543 | services.map(async (service: any) => this._prepareServiceModel(service)), |
544 | ); | 544 | ); |
545 | /* eslint-enable no-return-await */ | ||
546 | } | 545 | } |
547 | 546 | ||
548 | async _prepareServiceModel(service: { recipeId: string }) { | 547 | async _prepareServiceModel(service: { recipeId: string }) { |
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 |
diff --git a/src/features/workspaces/components/WorkspaceItem.tsx b/src/features/workspaces/components/WorkspaceItem.tsx index 6c4dd649b..36c6ed2f5 100644 --- a/src/features/workspaces/components/WorkspaceItem.tsx +++ b/src/features/workspaces/components/WorkspaceItem.tsx | |||
@@ -1,4 +1,3 @@ | |||
1 | /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ | ||
2 | import { Component, ReactElement } from 'react'; | 1 | import { Component, ReactElement } from 'react'; |
3 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
4 | import withStyles, { WithStylesProps } from 'react-jss'; | 3 | import withStyles, { WithStylesProps } from 'react-jss'; |
diff --git a/src/stores/AppStore.ts b/src/stores/AppStore.ts index ab98ca89c..9af0a9a4f 100644 --- a/src/stores/AppStore.ts +++ b/src/stores/AppStore.ts | |||
@@ -49,8 +49,8 @@ const mainWindow = getCurrentWindow(); | |||
49 | const executablePath = isMac | 49 | const executablePath = isMac |
50 | ? remoteProcess.execPath | 50 | ? remoteProcess.execPath |
51 | : isWinPortable | 51 | : isWinPortable |
52 | ? process.env.PORTABLE_EXECUTABLE_FILE | 52 | ? process.env.PORTABLE_EXECUTABLE_FILE |
53 | : process.execPath; | 53 | : process.execPath; |
54 | const autoLauncher = new AutoLaunch({ | 54 | const autoLauncher = new AutoLaunch({ |
55 | name: 'Ferdium', | 55 | name: 'Ferdium', |
56 | path: executablePath, | 56 | path: executablePath, |