support richcontent in polls

This commit is contained in:
Henry Jameson 2021-08-13 12:19:57 +03:00
parent add5921b8b
commit 6c6df29ed3
4 changed files with 11 additions and 9 deletions

View file

@ -1,10 +1,14 @@
import Timeago from '../timeago/timeago.vue'
import Timeago from 'components/timeago/timeago.vue'
import RichContent from 'components/rich_content/rich_content.jsx'
import { forEach, map } from 'lodash'
export default {
name: 'Poll',
props: ['basePoll'],
components: { Timeago },
props: ['basePoll', 'emoji'],
components: {
Timeago,
RichContent
},
data () {
return {
loading: false,