fix
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-03-26 08:11:08 -06:00
parent 4b58cee204
commit 597f1f0f93
14 changed files with 408 additions and 532 deletions

View File

@@ -101,7 +101,13 @@ const canSubmit = computed(
)
async function getContent() {
list.value = await Challenge.list()
show(Number(route.params.display))
const display = Number(route.params.display)
const target = list.value.find((item) => item.display === display)
if (target) {
show(display)
} else if (list.value.length > 0) {
show(list.value[0].display)
}
}
function createNew() {