Fix: Add check for id on update conversation (#1966)
This commit is contained in:
committed by
GitHub
parent
818f45916e
commit
43b5a435ec
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user