Chore: Update swagger API documentation (#745)

* Chore: Update swagger documentation
This commit is contained in:
Pranav Raj S
2020-04-20 11:55:06 +05:30
committed by GitHub
parent 5736f687e8
commit 06153a96ed
11 changed files with 190 additions and 110 deletions

View File

@@ -3,10 +3,15 @@
<div class="header-wrap">
<ChatHeaderExpanded
v-if="isHeaderExpanded"
:intro-heading="channelConfig.welcomeTitle"
:intro-body="channelConfig.welcomeTagline"
:intro-heading="introHeading"
:intro-body="introBody"
:avatar-url="channelConfig.avatarUrl"
/>
<ChatHeader
v-else
:title="channelConfig.websiteName"
:avatar-url="channelConfig.avatarUrl"
/>
<ChatHeader v-else :title="channelConfig.websiteName" />
</div>
<AvailableAgents v-if="showAvailableAgents" :agents="availableAgents" />
<ConversationWrap :grouped-messages="groupedMessages" />
@@ -55,6 +60,15 @@ export default {
showAvailableAgents() {
return this.availableAgents.length > 0 && this.conversationSize < 1;
},
introHeading() {
return this.channelConfig.welcomeTitle || 'Hi there ! 🙌🏼';
},
introBody() {
return (
this.channelConfig.welcomeTagline ||
'We make it simple to connect with us. Ask us anything, or share your feedback.'
);
},
},
};
</script>