From 0f99256daa903dc8e1675211bf8de025836d0f3c Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 22 Mar 2023 13:17:45 +0800 Subject: [PATCH] refactor(nc-gui): variable naming --- .../components/smartsheet/expanded-form/Comments.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue index c6e921385e..7dd7a6101a 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue @@ -8,7 +8,7 @@ const commentsWrapperEl = ref() await loadCommentsAndLogs() -const showborder = ref(false) +const showBorder = ref(false) watch( commentsAndLogs, @@ -72,9 +72,9 @@ watch( v-model:value="comment" class="!text-xs nc-comment-box" ghost - :class="{ focus: showborder }" - @focusin="showborder = true" - @focusout="showborder = false" + :class="{ focus: showBorder }" + @focusin="showBorder = true" + @focusout="showBorder = false" @keyup.enter.prevent="saveComment" >