Fix: Add check for id on update conversation (#1966)
This commit is contained in:
parent
818f45916e
commit
43b5a435ec
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ class ActionCableConnector extends BaseActionCableConnector {
|
|||
};
|
||||
|
||||
onAssigneeChanged = payload => {
|
||||
this.app.$store.dispatch('updateConversation', payload);
|
||||
const { id } = payload;
|
||||
if (id) {
|
||||
this.app.$store.dispatch('updateConversation', payload);
|
||||
}
|
||||
this.fetchConversationStats();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue