akkoma-fe/src/components/quote_card/quote_card.js

33 lines
515 B
JavaScript
Raw Normal View History

import { mapGetters } from 'vuex'
import QuoteCardContent from '../quote_card_content/quote_card_content.vue'
const QuoteCard = {
name: 'QuoteCard',
props: [
'status'
],
data () {
return {
imageLoaded: false
}
},
computed: {
...mapGetters([
'mergedConfig'
]),
statusLink () {
return {
name: 'conversation',
params: {
id: this.status.id
}
}
}
},
components: {
QuoteCardContent
}
}
export default QuoteCard