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

21 lines
485 B
JavaScript
Raw Normal View History

2026-01-06 16:23:17 +02:00
import { mapState } from 'vuex'
2026-06-04 21:59:09 +03:00
2026-06-30 04:02:13 +03:00
import AuthForm from 'src/components/auth_form/auth_form.js'
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
import UserCard from 'src/components/user_card/user_card.vue'
2026-01-08 17:26:52 +02:00
2016-10-27 18:02:28 +02:00
const UserPanel = {
computed: {
2026-01-06 16:22:52 +02:00
signedIn() {
return this.user
},
...mapState({ user: (state) => state.users.currentUser }),
2016-10-27 18:02:28 +02:00
},
components: {
PostStatusForm,
UserCard,
2026-06-30 04:02:13 +03:00
AuthForm,
2026-01-06 16:22:52 +02:00
},
2016-10-27 18:02:28 +02:00
}
export default UserPanel