MM-13751: Fix for incorrect access to delete button.
This commit is contained in:
parent
2402fd1681
commit
dac5be0eaa
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ function mapStateToProps(state, ownProps) {
|
|||
let canAddReaction = true;
|
||||
let canEdit = false;
|
||||
let canEditUntil = -1;
|
||||
let canDelete = true;
|
||||
let {canDelete} = ownProps;
|
||||
let canPin = true;
|
||||
|
||||
if (hasNewPermissions(state)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue