diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-06 20:45:26 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-06 20:45:26 +0100 |
| commit | 7fcd36e2c19c29ce36086a85e59cc297d3474841 (patch) | |
| tree | b89c6903939f2920e3339c31057fab6ca32f1705 /src/components/status/status.js | |
| parent | b6ac99fdf07a58efe331c82905c513ca7ceb75e1 (diff) | |
Don't show actions when not logged in.
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 2e6565e8..6253d334 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -16,6 +16,9 @@ const Status = { } else { return this.statusoid } + }, + loggedIn () { + return !!this.$store.state.users.currentUser } }, components: { |
