ui: bug fix

This commit is contained in:
undefined committed 2022-08-02 01:35:54 +08:00
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 -1
View File
@@ -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",