parent
f620bdec54
commit
b8f25d77bf
3 changed files with 4 additions and 6 deletions
|
@ -8,7 +8,6 @@
|
|||
</span>
|
||||
<contact-info
|
||||
:show-avatar="showAvatar"
|
||||
show-new-message
|
||||
:contact="contact"
|
||||
@panel-close="onClose"
|
||||
/>
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
</div>
|
||||
<div class="contact-actions">
|
||||
<woot-button
|
||||
v-if="showNewMessage"
|
||||
v-tooltip="$t('CONTACT_PANEL.NEW_MESSAGE')"
|
||||
title="$t('CONTACT_PANEL.NEW_MESSAGE')"
|
||||
class="new-message"
|
||||
|
@ -172,10 +171,6 @@ export default {
|
|||
type: String,
|
||||
default: '',
|
||||
},
|
||||
showNewMessage: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
showAvatar: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
|
|
|
@ -52,6 +52,10 @@ export default {
|
|||
},
|
||||
async onSubmit(contactItem) {
|
||||
await this.$store.dispatch('contacts/update', contactItem);
|
||||
await this.$store.dispatch(
|
||||
'contacts/fetchContactableInbox',
|
||||
this.contact.id
|
||||
);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue