Skip to content

Commit 9c4a7c6

Browse files
committed
Remove unused renderIconToHtml method from ExpertChatMessage component
1 parent 6f8664f commit 9c4a7c6

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

frontend/src/components/expert/ExpertChatMessage.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,6 @@ export default {
9898
hasSuggestions () {
9999
return (this.message.resources?.suggestions && this.message.resources?.suggestions.length > 0)
100100
}
101-
},
102-
methods: {
103-
renderIconToHtml (component) {
104-
const vnode = h(component, { class: 'inline-block w-5 h-5 mr-1 align-text-bottom' })
105-
const container = document.createElement('div')
106-
render(vnode, container)
107-
return container.innerHTML
108-
}
109101
}
110102
}
111103
</script>

0 commit comments

Comments
 (0)