logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

user_panel.js (434B)


  1. import AuthForm from '../auth_form/auth_form.js'
  2. import PostStatusForm from '../post_status_form/post_status_form.vue'
  3. import UserCard from '../user_card/user_card.vue'
  4. import { mapState } from 'vuex'
  5. const UserPanel = {
  6. computed: {
  7. signedIn () { return this.user },
  8. ...mapState({ user: state => state.users.currentUser })
  9. },
  10. components: {
  11. AuthForm,
  12. PostStatusForm,
  13. UserCard
  14. }
  15. }
  16. export default UserPanel