Merge pull request #4373 from iwalton3/add-dashboard-to-pluginManager

Add dashboard to plugin manager.
This commit is contained in:
Bill Thornton 2023-03-01 09:45:03 -05:00 committed by GitHub
commit 207715aac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@ import { appRouter } from '../components/appRouter';
import * as inputManager from '../scripts/inputManager';
import toast from '../components/toast/toast';
import confirm from '../components/confirm/confirm';
import * as dashboard from '../utils/dashboard';
import ServerConnections from '../components/ServerConnections';
// TODO: replace with each plugin version
const cacheParam = new Date().getTime();
@ -86,7 +88,9 @@ class PluginManager {
appRouter,
inputManager,
toast,
confirm
confirm,
dashboard,
ServerConnections
});
} else {
console.debug(`Loading plugin (via dynamic import): ${pluginSpec}`);