MM-13751: Fix for incorrect access to delete button.

This commit is contained in:
Martin Kraft 2019-01-14 09:05:11 -05:00 committed by Elias Nahum
parent 2402fd1681
commit dac5be0eaa
No known key found for this signature in database
GPG key ID: E038DB71E0B61702

View file

@ -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)) {