1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add dashboard to pluginManager exported functions.

This commit is contained in:
Ian Walton 2023-02-23 23:05:48 -05:00
parent 2da9c9cba8
commit c16c6269a2

View file

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