Use empty string as fallback greeting_message if null (#948)
This commit is contained in:
parent
432dad203b
commit
eadc33d230
1 changed files with 3 additions and 3 deletions
|
@ -312,12 +312,12 @@ export default {
|
||||||
name: this.selectedInboxName,
|
name: this.selectedInboxName,
|
||||||
enable_auto_assignment: this.autoAssignment,
|
enable_auto_assignment: this.autoAssignment,
|
||||||
greeting_enabled: this.greetingEnabled,
|
greeting_enabled: this.greetingEnabled,
|
||||||
greeting_message: this.greetingMessage,
|
greeting_message: this.greetingMessage || '',
|
||||||
channel: {
|
channel: {
|
||||||
widget_color: this.inbox.widget_color,
|
widget_color: this.inbox.widget_color,
|
||||||
website_url: this.channelWebsiteUrl,
|
website_url: this.channelWebsiteUrl,
|
||||||
welcome_title: this.channelWelcomeTitle,
|
welcome_title: this.channelWelcomeTitle || '',
|
||||||
welcome_tagline: this.channelWelcomeTagline,
|
welcome_tagline: this.channelWelcomeTagline || '',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
if (this.avatarFile) {
|
if (this.avatarFile) {
|
||||||
|
|
Loading…
Reference in a new issue