fix: Hide conversation links in input_csat message in non-website channels (#5469)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Pranav Raj S 2022-09-20 17:15:32 -07:00 committed by GitHub
parent c556e9c694
commit 2d871a1ed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,10 @@ export default {
return false; return false;
}, },
message() { message() {
if (this.contentType === 'input_csat') {
return this.$t('CONVERSATION.CSAT_REPLY_MESSAGE');
}
// If the message is an email, emailMessageContent would be present // If the message is an email, emailMessageContent would be present
// In that case, we would use letter package to render the email // In that case, we would use letter package to render the email
if (this.emailMessageContent && this.isIncoming) { if (this.emailMessageContent && this.isIncoming) {