Skip to content
Snippets Groups Projects

#467 Fix/Muted and Blocked not "pressed" on User Card

Merged Jasper Lingers requested to merge jasper/pleroma-fe:fix/user-card-buttons into develop
3 files
+ 11
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -31,6 +31,15 @@ const Notification = {
const highlight = this.$store.state.config.highlight
const user = this.notification.action.user
return highlightStyle(highlight[user.screen_name])
},
userInStore () {
return this.$store.getters.findUser(this.notification.action.user.id)
},
user () {
if (this.userInStore) {
return this.userInStore
}
return {}
}
}
}
Loading