mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: bug fix
This commit is contained in:
1 parent
f22caf8c7b
commit
2d4d99c80c
2 files changed
+6
-4
No files matched your search
@@ -62,12 +62,14 @@ async function buildUI() {
|
||||
constant = JSON.stringify(payload);
|
||||
UiContextBase.constantVersion = hash = version;
|
||||
}
|
||||
bus.on('app/started', buildUI);
|
||||
bus.on('system/setting', () => {
|
||||
function updateLogo() {
|
||||
[UiContextBase.nav_logo_dark, UiContextBase.nav_logo_dark_2x] = system.getMany([
|
||||
'ui-default.nav_logo_dark', 'ui-default.nav_logo_dark_2x',
|
||||
]);
|
||||
});
|
||||
}
|
||||
bus.on('app/started', buildUI);
|
||||
bus.on('app/started', updateLogo);
|
||||
bus.on('system/setting', updateLogo);
|
||||
|
||||
class WikiHelpHandler extends Handler {
|
||||
noCheckPermView = true;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.38.28",
|
||||
"version": "4.38.29",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
Reference in new issue
Block a user