feat: update status on agent bot assignment

This commit is contained in:
Sojan Jose
2026-06-26 14:30:47 -07:00
parent ca9bedfba1
commit 90b165b624
5 changed files with 37 additions and 7 deletions
@@ -113,6 +113,11 @@ export const mutations = {
if (chat) {
chat.meta.assignee = assignee;
chat.meta.assignee_type = assigneeType;
if (assigneeType === 'AgentBot') {
chat.status = 'pending';
} else if (assignee) {
chat.status = 'open';
}
}
},