mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: add contest private files (#1053)
Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
1 parent
9729346ad9
commit
f5ef8b7f38
35 files changed
+781
-843
No files matched your search
@@ -52,7 +52,7 @@ const page = new NamedPage('problem_config', () => {
|
||||
newNames: [newName],
|
||||
type: 'testdata',
|
||||
});
|
||||
Notification.success(i18n('File have been renamed.'));
|
||||
Notification.success(i18n('File has been renamed.'));
|
||||
await pjax.request({ url: './files?d=testdata&sidebar=true', push: false });
|
||||
} catch (error) {
|
||||
Notification.error(error.message);
|
||||
@@ -68,7 +68,7 @@ const page = new NamedPage('problem_config', () => {
|
||||
files: file,
|
||||
type: 'testdata',
|
||||
});
|
||||
Notification.success(i18n('File have been deleted.'));
|
||||
Notification.success(i18n('File has been deleted.'));
|
||||
reduxStore.dispatch({
|
||||
type: 'CONFIG_DELETE_TESTDATA',
|
||||
value: file,
|
||||
|
||||
Reference in new issue
Block a user