diff --git a/my-garden-fe/src/components/boards/common/BoardView.vue b/my-garden-fe/src/components/boards/common/BoardView.vue index 1ef400f6..27112f36 100644 --- a/my-garden-fe/src/components/boards/common/BoardView.vue +++ b/my-garden-fe/src/components/boards/common/BoardView.vue @@ -53,6 +53,10 @@ function submitComment() { emit('submitComment', comment.value); comment.value = ''; } + +function isCommentBoxActive() { + return props.comments.length > 0 || isLogin(); +}