feat: Add a component to display contact attributes in CRM (#2217)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Nithin David Thomas 2021-05-05 12:09:34 +05:30 committed by GitHub
parent fd67a5795a
commit 262d153c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 135 additions and 1 deletions

View file

@ -14,7 +14,7 @@ export default {
computed: {
...mapGetters({ uiSettings: 'getUISettings' }),
isIconTypeEmoji() {
const { icon_type: iconType } = this.uiSettings;
const { icon_type: iconType } = this.uiSettings || {};
return iconType === 'emoji';
},
showEmoji() {