2026-06-02 18:09:12 +03:00
|
|
|
import { defineAsyncComponent } from 'vue'
|
2026-01-06 16:23:17 +02:00
|
|
|
import { mapState } from 'vuex'
|
2026-06-04 21:59:09 +03:00
|
|
|
|
2026-06-04 19:51:18 +03:00
|
|
|
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
|
|
|
|
import UserCard from 'src/components/user_card/user_card.vue'
|
2026-06-26 16:05:32 +03:00
|
|
|
import AuthForm from 'src/components/auth_form/auth_form.js'
|
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: {
|
2026-06-04 19:51:18 +03:00
|
|
|
PostStatusForm,
|
|
|
|
|
UserCard,
|
2026-01-06 16:22:52 +02:00
|
|
|
},
|
2016-10-27 18:02:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default UserPanel
|