Fixed overridden interactions by re-initializing
This commit is contained in:
parent
10117b81b3
commit
c86b57fe8f
1 changed files with 5 additions and 0 deletions
|
|
@ -8,8 +8,13 @@ app.views.SinglePostActions = app.views.Feedback.extend({
|
|||
},
|
||||
|
||||
presenter: function() {
|
||||
var interactions = this.model.interactions
|
||||
|
||||
return _.extend(this.defaultPresenter(), {
|
||||
authorIsNotCurrentUser : this.authorIsNotCurrentUser(),
|
||||
userCanReshare : interactions.userCanReshare(),
|
||||
userLike : interactions.userLike(),
|
||||
userReshare : interactions.userReshare()
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue