Browse Source

refactor(nc-gui): variable naming

pull/5341/head
Wing-Kam Wong 2 years ago
parent
commit
0f99256daa
  1. 8
      packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

8
packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

@ -8,7 +8,7 @@ const commentsWrapperEl = ref<HTMLDivElement>()
await loadCommentsAndLogs() await loadCommentsAndLogs()
const showborder = ref(false) const showBorder = ref(false)
watch( watch(
commentsAndLogs, commentsAndLogs,
@ -72,9 +72,9 @@ watch(
v-model:value="comment" v-model:value="comment"
class="!text-xs nc-comment-box" class="!text-xs nc-comment-box"
ghost ghost
:class="{ focus: showborder }" :class="{ focus: showBorder }"
@focusin="showborder = true" @focusin="showBorder = true"
@focusout="showborder = false" @focusout="showBorder = false"
@keyup.enter.prevent="saveComment" @keyup.enter.prevent="saveComment"
> >
<template #addonBefore> <template #addonBefore>

Loading…
Cancel
Save