File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 205
205
206
206
<template #form >
207
207
<a-chat-form
208
- v-if =" !isWelcomeChat(partnerId)"
209
208
ref =" chatFormRef"
210
209
:show-send-button =" true"
211
210
:send-on-enter =" sendMessageOnEnter"
212
211
:show-divider =" true"
213
212
:label =" t('chats.message')"
214
- :should-disable-input =" shouldDisableInput"
213
+ :should-disable-input =" isWelcomeChat(partnerId) || shouldDisableInput"
215
214
:message-text ="
216
215
$route.query.messageText || $store.getters['draftMessage/draftMessage'](partnerId)
217
216
"
@@ -322,7 +321,6 @@ import { useChatStateStore } from '@/stores/modal-state'
322
321
import ChatPlaceholder from ' @/components/Chat/ChatPlaceholder.vue'
323
322
import { watchImmediate } from ' @vueuse/core'
324
323
import { NodeStatusResult } from ' @/lib/nodes/abstract.node'
325
- import { isAllNodesOfflineError } from ' @/lib/nodes/utils/errors'
326
324
327
325
const validationErrors = {
328
326
emptyMessage: ' EMPTY_MESSAGE' ,
You can’t perform that action at this time.
0 commit comments