diff options
| author | Henry Jameson <me@hjkos.com> | 2020-06-13 14:42:53 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-06-13 14:42:53 +0300 |
| commit | ac270d7060213c0ebb0369ef5ccd2e659d2b5ee9 (patch) | |
| tree | 3fbc58e95d758cf92e5fc508dad617453bc19139 /src/components/post_status_modal/post_status_modal.js | |
| parent | 8cd5041663077a2a5dafe9c23d5495339fa31fc6 (diff) | |
fix #866
Diffstat (limited to 'src/components/post_status_modal/post_status_modal.js')
| -rw-r--r-- | src/components/post_status_modal/post_status_modal.js | 3 |
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 }, |
