diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-04-24 18:53:17 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-04-24 18:53:17 +0300 |
| commit | af9492977aaa10903d54add3187b5cf9d9a00d6c (patch) | |
| tree | 09ecf8ce1238d0daab75b0dc26e3e5c1d96f16a3 /src/components/user_card/user_card.js | |
| parent | f6fce92cf7a463fbdf270d494404dca5aae06045 (diff) | |
add back mute prediction, add getter for relationships
Diffstat (limited to 'src/components/user_card/user_card.js')
| -rw-r--r-- | src/components/user_card/user_card.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js index fb3cfebc..8e6b9d7f 100644 --- a/src/components/user_card/user_card.js +++ b/src/components/user_card/user_card.js @@ -25,7 +25,7 @@ export default { return this.$store.getters.findUser(this.userId) }, relationship () { - return this.$store.state.users.relationships[this.userId] || {} + return this.$store.getters.relationship(this.userId) }, classes () { return [{ |
