aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_modal/post_status_modal.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-06-14 13:38:24 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-06-14 13:38:24 +0000
commit8a15900c81eb6d1e1ec7f5f77868211f4da354e0 (patch)
treed3c44a148beb1db855a3b235de42bdcc77c6af43 /src/components/post_status_modal/post_status_modal.js
parent7de56a8063e6c8ef1c0f3bbe87428f5887c38485 (diff)
parentc0a4752bd5435f7c99cc711a111bd45b8d85a1fc (diff)
Merge branch 'themes-fixes' into 'develop'
Several small fixes Closes #866 and #864 See merge request pleroma/pleroma-fe!1145
Diffstat (limited to 'src/components/post_status_modal/post_status_modal.js')
-rw-r--r--src/components/post_status_modal/post_status_modal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/post_status_modal/post_status_modal.js b/src/components/post_status_modal/post_status_modal.js
index be945400..b44354db 100644
--- a/src/components/post_status_modal/post_status_modal.js
+++ b/src/components/post_status_modal/post_status_modal.js
@@ -13,6 +13,9 @@ const PostStatusModal = {
}
},
computed: {
+ isLoggedIn () {
+ return !!this.$store.state.users.currentUser
+ },
modalActivated () {
return this.$store.state.postStatus.modalActivated
},