mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add toast and confirm to pluginManager.
This commit is contained in:
parent
7535fb99fa
commit
123ff9f834
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,8 @@ import { playbackManager } from './playback/playbackmanager';
|
||||||
import { appHost } from '../components/apphost';
|
import { appHost } from '../components/apphost';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/appRouter';
|
||||||
import * as inputManager from '../scripts/inputManager';
|
import * as inputManager from '../scripts/inputManager';
|
||||||
|
import toast from '../components/toast/toast';
|
||||||
|
import confirm from '../components/confirm/confirm';
|
||||||
|
|
||||||
/* eslint-disable indent */
|
/* eslint-disable indent */
|
||||||
|
|
||||||
|
@ -97,7 +99,9 @@ import * as inputManager from '../scripts/inputManager';
|
||||||
globalize,
|
globalize,
|
||||||
appHost,
|
appHost,
|
||||||
appRouter,
|
appRouter,
|
||||||
inputManager
|
inputManager,
|
||||||
|
toast,
|
||||||
|
confirm
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.debug(`Loading plugin (via dynamic import): ${pluginSpec}`);
|
console.debug(`Loading plugin (via dynamic import): ${pluginSpec}`);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue