ui: typo fix

This commit is contained in:
undefined committed 2021-10-25 20:02:16 +08:00
1 parent 896884062c
commit 7e8a90a6b2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.26.3",
"version": "4.26.4",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -200,7 +200,7 @@ async function handleOperation(operation) {
}
try {
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);
window.location.reload();
} catch (error) {