chore: Added support for inbox variables (#11952)
This commit is contained in:
@@ -372,6 +372,7 @@ export default {
|
||||
const variables = getMessageVariables({
|
||||
conversation: this.currentChat,
|
||||
contact: this.currentContact,
|
||||
inbox: this.inbox,
|
||||
});
|
||||
return variables;
|
||||
},
|
||||
|
||||
@@ -157,6 +157,14 @@ export const MESSAGE_VARIABLES = [
|
||||
label: 'Agent email',
|
||||
key: 'agent.email',
|
||||
},
|
||||
{
|
||||
key: 'inbox.name',
|
||||
label: 'Inbox name',
|
||||
},
|
||||
{
|
||||
label: 'Inbox id',
|
||||
key: 'inbox.id',
|
||||
},
|
||||
];
|
||||
|
||||
export const ATTACHMENT_ICONS = {
|
||||
|
||||
Reference in New Issue
Block a user