mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
Use empty string as fallback greeting_message if null (#948)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user