FIX: Linting via prettier

This commit is contained in:
Robin Ward 2019-05-30 13:57:47 -04:00
parent b4d1416076
commit 5e89714f77

View File

@ -234,12 +234,10 @@ export default function transformPost(
// Show a "Flag to delete" message if not staff and you can't // Show a "Flag to delete" message if not staff and you can't
// otherwise delete it. // otherwise delete it.
postAtts.showFlagDelete = ( postAtts.showFlagDelete =
!postAtts.canDelete && !postAtts.canDelete &&
postAtts.yours && postAtts.yours &&
(currentUser && !currentUser.staff) (currentUser && !currentUser.staff);
);
} else { } else {
postAtts.canRecover = postAtts.isDeleted && postAtts.canRecover; postAtts.canRecover = postAtts.isDeleted && postAtts.canRecover;
postAtts.canDelete = postAtts.canDelete =