Skip to content

Commit

Permalink
Possible fix to evaluation undefined bug (#5234)
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Andrew Hinchey <chinchey@mitre.org>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and Amndeep7 committed Dec 25, 2023
1 parent 31a9af7 commit 79eecef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/components/cards/EvaluationInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</v-col>
<v-col cols="1">
<div
v-if="file.from_file.database_id && evaluation.editable"
v-if="file.from_file.database_id && evaluation && evaluation.editable"
class="top-right"
>
<v-icon
Expand All @@ -36,7 +36,7 @@
mdi-pencil
</v-icon>
<EditEvaluationModal
v-if="showEditEvaluationModal"
v-if="evaluation && showEditEvaluationModal"
id="editEvaluationModal"
:visible="showEditEvaluationModal"
:active="evaluation"
Expand Down

0 comments on commit 79eecef

Please sign in to comment.