fix: Fetch assignable agents in expanded layout (#10540)
This commit is contained in:
@@ -62,10 +62,13 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
'currentChat.inbox_id'(inboxId) {
|
'currentChat.inbox_id': {
|
||||||
if (inboxId) {
|
immediate: true,
|
||||||
this.$store.dispatch('inboxAssignableAgents/fetch', [inboxId]);
|
handler(inboxId) {
|
||||||
}
|
if (inboxId) {
|
||||||
|
this.$store.dispatch('inboxAssignableAgents/fetch', [inboxId]);
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'currentChat.id'() {
|
'currentChat.id'() {
|
||||||
this.fetchLabels();
|
this.fetchLabels();
|
||||||
|
|||||||
Reference in New Issue
Block a user