From 1d66cc86beff83dacaa2490264379585973c9c42 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 7 Jul 2021 16:02:12 +0200 Subject: [PATCH] Fix naming --- .../components/content-blocks/assignment/SubmissionForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/content-blocks/assignment/SubmissionForm.vue b/client/src/components/content-blocks/assignment/SubmissionForm.vue index c20dd205..008a49f9 100644 --- a/client/src/components/content-blocks/assignment/SubmissionForm.vue +++ b/client/src/components/content-blocks/assignment/SubmissionForm.vue @@ -46,7 +46,7 @@ :user-input="userInput" :shared-msg="sharedMsg" :show-reopen="!readOnly" - v-if="isReadOnly" + v-if="isFinalOrReadOnly" @reopen="$emit('reopen')"/> @@ -91,7 +91,7 @@ final() { return !!this.userInput && this.userInput.final; }, - isReadOnly() { + isFinalOrReadOnly() { return this.final || this.readOnly; }, allowsDocuments() {