feat: Allow agent-bots to be created from the UI (#4153)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Fayaz Ahmed
2022-11-18 11:45:58 +05:30
committed by GitHub
parent 9bfbd528ef
commit 47676c3cce
17 changed files with 1573 additions and 40 deletions

View File

@@ -16,7 +16,7 @@ const state = {
export const getters = {
getAccount: $state => id => {
return $state.records.find(record => record.id === Number(id));
return $state.records.find(record => record.id === Number(id)) || {};
},
getUIFlags($state) {
return $state.uiFlags;