diff options
| author | Xiaofeng An <futureweb2020@yandex.com> | 2019-02-05 13:47:27 -0500 |
|---|---|---|
| committer | Xiaofeng An <futureweb2020@yandex.com> | 2019-02-05 13:47:27 -0500 |
| commit | c758d103bdb0cb0ac2945722c0666d309cd19a75 (patch) | |
| tree | 137734919bbd064f5c79b126127fe7151ddd5c55 /src/components/public_timeline/public_timeline.js | |
| parent | 8e51c7847148c6e8e9488fd5e8ac17a9b0bc6290 (diff) | |
fix #308 - show login hint above timeline when user is not logged in
Diffstat (limited to 'src/components/public_timeline/public_timeline.js')
| -rw-r--r-- | src/components/public_timeline/public_timeline.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/public_timeline/public_timeline.js b/src/components/public_timeline/public_timeline.js index 9b866be8..e54e49fa 100644 --- a/src/components/public_timeline/public_timeline.js +++ b/src/components/public_timeline/public_timeline.js @@ -4,7 +4,8 @@ const PublicTimeline = { Timeline }, computed: { - timeline () { return this.$store.state.statuses.timelines.public } + timeline () { return this.$store.state.statuses.timelines.public }, + currentUser () { return this.$store.state.users.currentUser } }, created () { this.$store.dispatch('startFetching', 'public') |
