mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: ensure all items set
This commit is contained in:
1 parent
1ddde7d090
commit
fc7aa51571
3 files changed
+5
-1
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { inspect } from 'util';
|
||||
import * as yaml from 'js-yaml';
|
||||
import { sleep } from '@hydrooj/utils/lib/utils';
|
||||
import * as check from '../check';
|
||||
import { ValidationError } from '../error';
|
||||
import {
|
||||
@@ -178,6 +179,7 @@ class SystemSettingHandler extends SystemHandler {
|
||||
}
|
||||
tasks.push(bus.parallel('system/setting', args));
|
||||
await Promise.all(tasks);
|
||||
await sleep(100);
|
||||
this.back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user