core&ui: support file renaming (#688)

Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
Milmonandundefined authored and GitHub committed 2023-11-19 21:46:15 +08:00
1 parent 746efef9bf
commit 01cb6944b7
19 files changed
+496 -144

No files matched your search

@@ -289,7 +289,7 @@ function buildSearchContainer() {
async function handleDownload(ev) {
let name = 'Export';
// eslint-disable-next-line no-alert
if (ev.shiftKey) name = prompt('Filename:', name);
if (ev.shiftKey) name = prompt(i18n('Filename'), name);
const pids = ensureAndGetSelectedPids();
if (pids) await downloadProblemSet(pids, name);
}