Skip to content

Commit 6f8664f

Browse files
committed
Remove commented-out code for issues and suggestions display in ExpertChatMessage component
1 parent 36ad95e commit 6f8664f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

frontend/src/components/expert/ExpertChatMessage.vue

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,7 @@ export default {
7272
// Convert markdown to HTML
7373
const content = []
7474
content.push(this.message.content || '')
75-
// if (this.message.resources?.issues?.length > 0) {
76-
// content.push('\n\n')
77-
// content.push('**Issues:**')
78-
// content.push(this.message.resources.issues.map(issue => `\n- ${this.sanitize(issue)}`).join(''))
79-
// }
80-
// if (this.message.resources?.suggestions?.length > 0) {
81-
// content.push('\n\n')
82-
// content.push('**Suggestions:**')
83-
// content.push(this.message.resources.suggestions.map(suggestion => `\n- ${this.sanitize(suggestion)}`).join(''))
84-
// }
75+
8576
const html = marked(content.join('\n'), {
8677
breaks: true,
8778
gfm: true

0 commit comments

Comments
 (0)