8000 Add plugin dashboard · corner4world/rclone-webui-react@49294da · GitHub
[go: up one dir, main page]

Skip to content

Commit 49294da

Browse files
committed
Add plugin dashboard
1 parent 90496c6 commit 49294da

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/actions/types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const CREATE_MOUNT = "CREATE_MOUNT";
5252
export const GET_TEST_PLUGINS = "GET_TEST_PLUGINS";
5353

5454
export const ADD_TEST_PLUGIN = "ADD_TEST_PLUGIN";
55+
export const LOAD_PLUGINS = "LOAD_PLUGINS";
5556

5657
export const REQUEST_ERROR = 'ERROR';
5758
export const REQUEST_SUCCESS = 'SUCCESS';

src/routes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const Login = React.lazy(() => import("./views/Pages/Login"));
88
const RCloneDashboard = React.lazy(() => import("./views/RCloneDashboard"));
99
const PluginDashboard = React.lazy(() => import("./views/PluginDashboard"));
1010
const MountDashboard = React.lazy(() => import("./views/MountDashboard"));
11+
const PluginDashboard = React.lazy(() => import("./views/PluginDashboard"));
1112

1213
// https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config
1314
// Define the routes as required
@@ -21,6 +22,7 @@ const routes = [
2122
{path: '/remoteExplorer/:remoteName/:remotePath', exact: true, name: 'Explorer', component: RemoteExplorerLayout},
2223
{path: '/remoteExplorer', name: 'Explorer', component: RemoteExplorerLayout},
2324
{path: '/rcloneBackend', name: 'Rclone Backend', component: RCloneDashboard},
25+
{path: '/pluginDashboard', name: 'Plugins', component: PluginDashboard},
2426
{path: '/mountDashboard', name: 'Mount Dashboard', component: MountDashboard},
2527
{path: '/pluginDashboard', name: 'Plugins', component: PluginDashboard},
2628
{path: '/mountDashboard', name: 'Mount Dashboard', component: MountDashboard},

0 commit comments

Comments
 (0)
0