diff --git a/src/components/widgets/AddComment.vue b/src/components/widgets/AddComment.vue index 1e0967306..0ddb0c7f2 100644 --- a/src/components/widgets/AddComment.vue +++ b/src/components/widgets/AddComment.vue @@ -457,7 +457,7 @@ export default { mounted() { const production = this.productionMap.get(this.task.project_id) this.mode = - production.is_publish_default_for_artists && this.isCurrentUserArtist + production?.is_publish_default_for_artists && this.isCurrentUserArtist ? 'publish' : 'status'