@@ -51,15 +62,6 @@
@blur="rows = 1"
@keydown.enter="(e) => sendTextMessage(e)"
/>
-
-
-
@@ -85,10 +87,6 @@ const content = ref('')
const placeholder = ref(__('Type your message here...'))
const fileType = ref('')
-const isEmpty = computed(() => {
- return !content.value || content.value === '
'
-})
-
function show() {
nextTick(() => textarea.value.$el.focus())
}
@@ -158,7 +156,7 @@ function uploadOptions(openFileSelector) {
]
}
-watch(() => reply.value, (value) => {
+watch(reply, (value) => {
if (value?.message) {
show()
}