mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: typo fix
This commit is contained in:
1 parent
896884062c
commit
7e8a90a6b2
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.26.3",
|
"version": "4.26.4",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ async function handleOperation(operation) {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await request.post('', { operation, pids, ...payload });
|
await request.post('', { operation, pids, ...payload });
|
||||||
Notification.success(i18n(`Selected problems have been ${operation}d.`));
|
Notification.success(i18n(`Selected problems have been ${operation === 'copy' ? 'copie' : operation}d.`));
|
||||||
await delay(2000);
|
await delay(2000);
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in new issue
Block a user