core: fix ui

This commit is contained in:
undefined committed 2021-06-28 16:22:42 +08:00
1 parent dd21f74ad2
commit 0e48370692
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.28.58",
"version": "2.28.59",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
+1 -1
View File
@@ -113,7 +113,7 @@ export class FSDownloadHandler extends Handler {
export async function apply() {
Route('check_in', '/checkin', CheckInHandler, PRIV.PRIV_USER_PROFILE);
Route('switch_language', '/language/:lang', SwitchLanguageHandler);
Route('home_file', '/file', FilesHandler, PRIV.PRIV_CREATE_FILE);
Route('home_files', '/file', FilesHandler, PRIV.PRIV_CREATE_FILE);
Route('fs_download', '/file/:uid/:filename', FSDownloadHandler);
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.11.42",
"version": "4.11.43",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -9,7 +9,7 @@
{{ sidemenu.render_item('web', 'home_domain', label='My Domains') }}
{% if handler.user.hasPriv(PRIV.PRIV_CREATE_FILE) %}
<li class="menu__seperator"></li>
{{ sidemenu.render_item('file', 'home_file', label='My Files') }}
{{ sidemenu.render_item('file', 'home_files', label='My Files') }}
{% endif %}
<li class="menu__seperator"></li>
{{ sidemenu.render_item('wrench', 'home_settings', {category:'account'}, label='Account Settings') }}