fix
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-05-21 18:59:28 -06:00
parent 5984aa715d
commit 2e285e29f0
2 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ const props = defineProps<Props>()
defineEmits(["showCode"])
const userStore = useUserStore()
const isOwnSubmission = computed(() => userStore.profile?.id === props.submission.user_id)
const isOwnSubmission = computed(() => userStore.profile?.user?.id === props.submission.user_id)
function goto() {
window.open("/submission/" + props.submission.id, "_blank")