fix: Show new message screen instead of input field (#4102)
This commit is contained in:
parent
3d7ca61481
commit
28d102f526
5 changed files with 32 additions and 22 deletions
|
@ -1,6 +1,10 @@
|
|||
<template>
|
||||
<div class="flex flex-1 overflow-auto">
|
||||
<pre-chat-form :options="preChatFormOptions" @submit="onSubmit" />
|
||||
<pre-chat-form
|
||||
:options="preChatFormOptions"
|
||||
:disable-contact-fields="disableContactFields"
|
||||
@submit="onSubmit"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -18,6 +22,10 @@ export default {
|
|||
...mapGetters({
|
||||
conversationSize: 'conversation/getConversationSize',
|
||||
}),
|
||||
disableContactFields() {
|
||||
const { disableContactFields = false } = this.$route.params || {};
|
||||
return disableContactFields;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
conversationSize(newSize, oldSize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue