diff options
| author | Ilja <ilja@ilja.space> | 2022-02-26 01:53:01 +0100 |
|---|---|---|
| committer | Ilja <ilja@ilja.space> | 2022-02-26 01:53:01 +0100 |
| commit | 819b76026101ddc0363118f240049a0019ebb4d6 (patch) | |
| tree | e75febbf83ef90fd2371a9be0f864989db981203 /src/components/interactions | |
| parent | 52c22e863e66cd165adb100af42b88f5bbb116f0 (diff) | |
Fix up and code review
* Check if it works properly
* Notifs are shown as BE returns them
* The Interaction view has Reports, but only when you're mod or admin
* Do some extra translations
* Fix some console spam
Diffstat (limited to 'src/components/interactions')
| -rw-r--r-- | src/components/interactions/interactions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/interactions/interactions.js b/src/components/interactions/interactions.js index 54275a7b..53ec7d49 100644 --- a/src/components/interactions/interactions.js +++ b/src/components/interactions/interactions.js @@ -13,7 +13,8 @@ const Interactions = { data () { return { allowFollowingMove: this.$store.state.users.currentUser.allow_following_move, - filterMode: tabModeDict['mentions'] + filterMode: tabModeDict['mentions'], + canSeeReports: ['moderator', 'admin'].includes(this.$store.state.users.currentUser.role) } }, methods: { |
