mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-27 08:33:44 +00:00
@@ -8,7 +8,6 @@
|
|||||||
</span>
|
</span>
|
||||||
<contact-info
|
<contact-info
|
||||||
:show-avatar="showAvatar"
|
:show-avatar="showAvatar"
|
||||||
show-new-message
|
|
||||||
:contact="contact"
|
:contact="contact"
|
||||||
@panel-close="onClose"
|
@panel-close="onClose"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -65,7 +65,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="contact-actions">
|
<div class="contact-actions">
|
||||||
<woot-button
|
<woot-button
|
||||||
v-if="showNewMessage"
|
|
||||||
v-tooltip="$t('CONTACT_PANEL.NEW_MESSAGE')"
|
v-tooltip="$t('CONTACT_PANEL.NEW_MESSAGE')"
|
||||||
title="$t('CONTACT_PANEL.NEW_MESSAGE')"
|
title="$t('CONTACT_PANEL.NEW_MESSAGE')"
|
||||||
class="new-message"
|
class="new-message"
|
||||||
@@ -172,10 +171,6 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
showNewMessage: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false,
|
|
||||||
},
|
|
||||||
showAvatar: {
|
showAvatar: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
|
|||||||
@@ -52,6 +52,10 @@ export default {
|
|||||||
},
|
},
|
||||||
async onSubmit(contactItem) {
|
async onSubmit(contactItem) {
|
||||||
await this.$store.dispatch('contacts/update', contactItem);
|
await this.$store.dispatch('contacts/update', contactItem);
|
||||||
|
await this.$store.dispatch(
|
||||||
|
'contacts/fetchContactableInbox',
|
||||||
|
this.contact.id
|
||||||
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user