diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2023-09-02 16:28:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 15:28:04 +0000 |
commit | d1c623f4c3d72c859f9ad9cb985be127d6a3eb62 (patch) | |
tree | e102da856ae328c70e822d60ac53909acd4627b9 /src/routes.tsx | |
parent | Downgrade 'electron' to 25.x (diff) | |
download | ferdium-app-d1c623f4c3d72c859f9ad9cb985be127d6a3eb62.tar.gz ferdium-app-d1c623f4c3d72c859f9ad9cb985be127d6a3eb62.tar.zst ferdium-app-d1c623f4c3d72c859f9ad9cb985be127d6a3eb62.zip |
feat: Add Download Manager (pause, stop, delete) (#1339)
Diffstat (limited to 'src/routes.tsx')
-rw-r--r-- | src/routes.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/routes.tsx b/src/routes.tsx index 9f81e46d9..436f25ea4 100644 --- a/src/routes.tsx +++ b/src/routes.tsx | |||
@@ -35,6 +35,8 @@ import { WORKSPACES_ROUTES } from './features/workspaces/constants'; | |||
35 | import { StoresProps } from './@types/ferdium-components.types'; | 35 | import { StoresProps } from './@types/ferdium-components.types'; |
36 | import { Actions } from './actions/lib/actions'; | 36 | import { Actions } from './actions/lib/actions'; |
37 | import { RealStores } from './stores'; | 37 | import { RealStores } from './stores'; |
38 | import DownloadManagerScreen from './containers/download-manager/DownloadManagerScreen'; | ||
39 | import DownloadManagerWindow from './containers/download-manager/DownloadManagerWindow'; | ||
38 | 40 | ||
39 | interface IProps { | 41 | interface IProps { |
40 | history: HashHistory; | 42 | history: HashHistory; |
@@ -116,6 +118,15 @@ class FerdiumRoutes extends Component<IProps> { | |||
116 | /> | 118 | /> |
117 | </Route> | 119 | </Route> |
118 | <Route | 120 | <Route |
121 | path="/downloadmanager" | ||
122 | element={<DownloadManagerWindow {...this.props} />} | ||
123 | > | ||
124 | <Route | ||
125 | path="/downloadmanager" | ||
126 | element={<DownloadManagerScreen {...this.props} />} | ||
127 | /> | ||
128 | </Route> | ||
129 | <Route | ||
119 | path="/settings" | 130 | path="/settings" |
120 | element={<SettingsWindow {...this.props} />} | 131 | element={<SettingsWindow {...this.props} />} |
121 | > | 132 | > |