pleroma-fe/src/components/user_panel/user_panel.js

18 lines
428 B
JavaScript
Raw Normal View History

2016-10-28 03:02:28 +11:00
import LoginForm from '../login_form/login_form.vue'
2016-10-31 02:53:58 +11:00
import PostStatusForm from '../post_status_form/post_status_form.vue'
2016-12-01 08:27:19 +11:00
import UserCardContent from '../user_card_content/user_card_content.vue'
2016-10-28 03:02:28 +11:00
const UserPanel = {
props: [ 'activatePanel' ],
2016-10-28 03:02:28 +11:00
computed: {
2016-12-01 08:27:19 +11:00
user () { return this.$store.state.users.currentUser }
2016-10-28 03:02:28 +11:00
},
components: {
2016-10-31 02:53:58 +11:00
LoginForm,
2016-12-01 08:27:19 +11:00
PostStatusForm,
UserCardContent
2016-10-28 03:02:28 +11:00
}
}
export default UserPanel