mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: bug fix
This commit is contained in:
1 parent
35402e6afc
commit
039125b317
2 files changed
+2
-2
No files matched your search
@@ -21,7 +21,7 @@ const loaders = {
|
||||
external: async (monaco, feat) => {
|
||||
const items = Object.keys(window.externalModules).filter((i) => i === `monaco-${feat}` || i.startsWith(`monaco-${feat}@`));
|
||||
for (const item of items) {
|
||||
let apply = await loadExternalModule(window.externalModules[`monaco-${item}`]);
|
||||
let apply = await loadExternalModule(window.externalModules[item]);
|
||||
if (typeof apply !== 'function') apply = apply.default || apply.apply;
|
||||
if (typeof apply === 'function') await apply(monaco);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.38.31",
|
||||
"version": "4.38.32",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
Reference in new issue
Block a user