ui: allow custom esbuild plugins

This commit is contained in:
undefined committed 2022-07-05 10:15:39 +08:00
1 parent ef0582d63c
commit 8428581860
4 files changed
+18 -8

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ async function render(name, state) {
perm: global.Hydro.model.builtin.PERM,
PRIV: global.Hydro.model.builtin.PRIV,
STATUS: global.Hydro.model.builtin.STATUS,
UiContext: state.handler.UiContext,
UiContext: state.handler?.UiContext || {},
}, (err, res) => {
if (err) reject(err);
else resolve(res);