ui: also dump problemId

This commit is contained in:
undefined committed 2021-06-05 15:37:07 +08:00
1 parent d0d970efbf
commit ddbcf42c9b
2 files changed
+2 -1

No files matched your search

@@ -71,6 +71,7 @@ export async function downloadProblemSet(pids, name = 'Export') {
targets.push({ targets.push({
filename: `${pid}/problem.yaml`, filename: `${pid}/problem.yaml`,
content: dump({ content: dump({
pid: pdoc.pid,
content: pdoc.content, content: pdoc.content,
owner: pdoc.owner, owner: pdoc.owner,
title: pdoc.title, title: pdoc.title,
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.11.10", "version": "4.11.11",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",