mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
bug fixed plugins load
bug fixed with import browserDeviceProfile
This commit is contained in:
parent
f15f6ec9b8
commit
e525a46068
3 changed files with 12 additions and 14 deletions
|
@ -81,8 +81,7 @@ import globalize from '../scripts/globalize';
|
|||
});
|
||||
} else if (pluginSpec.then) {
|
||||
return pluginSpec.then(({ default: pluginBuilder }) => {
|
||||
return pluginBuilder();
|
||||
}).then((plugin) => {
|
||||
const plugin = new pluginBuilder;
|
||||
console.debug(`Plugin loaded: ${plugin.id}`);
|
||||
return this.#registerPlugin(plugin);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue