diff options
| author | eugenijm <eugenijm@protonmail.com> | 2019-02-18 17:49:32 +0300 |
|---|---|---|
| committer | eugenijm <eugenijm@protonmail.com> | 2019-04-01 23:30:06 +0300 |
| commit | 6b6878bde06b375b1e715a3557f153acc73a8af0 (patch) | |
| tree | ba97b5f4a364c05122cd657140d9fa34ca6f1616 /src/components/notification/notification.js | |
| parent | ac28e8c2f981b6584f0103e10b0a5f5b025fcaae (diff) | |
Added moderation menu
Diffstat (limited to 'src/components/notification/notification.js')
| -rw-r--r-- | src/components/notification/notification.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 42a48f3f..6aa6101f 100644 --- a/src/components/notification/notification.js +++ b/src/components/notification/notification.js @@ -21,6 +21,9 @@ const Notification = { }, userProfileLink (user) { return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames) + }, + getUser (notification) { + return this.$store.state.users.usersObject[notification.action.user.id] } }, computed: { |
