33 lines
515 B
JavaScript
33 lines
515 B
JavaScript
|
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
|