mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
14 lines
290 B
Vue
14 lines
290 B
Vue
<script>
|
|
const parse = require("../js/libs/handlebars/parse");
|
|
|
|
export default {
|
|
name: "ParsedMessage",
|
|
functional: true,
|
|
props: {
|
|
message: Object,
|
|
},
|
|
render(createElement, context) {
|
|
return parse(context.props.message.text, context.props.message, createElement);
|
|
},
|
|
};
|
|
</script>
|