logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe

status_or_conversation.js (389B)


      1 import Status from '../status/status.vue'
      2 import Conversation from '../conversation/conversation.vue'
      3 
      4 const statusOrConversation = {
      5   props: ['statusoid'],
      6   data () {
      7     return {
      8       expanded: false
      9     }
     10   },
     11   components: {
     12     Status,
     13     Conversation
     14   },
     15   methods: {
     16     toggleExpanded () {
     17       this.expanded = !this.expanded
     18     }
     19   }
     20 }
     21 
     22 export default statusOrConversation