A platform for community discussion. Free, open, simple.
FIX: Linting via prettier
Robin Ward5e89714f776b
diff --git a/app/assets/javascripts/discourse/lib/transform-post.js.es6 b/app/assets/javascripts/discourse/lib/transform-post.js.es6index 4aad29a3026..6200afa2bb0 100644--- a/app/assets/javascripts/discourse/lib/transform-post.js.es6+++ b/app/assets/javascripts/discourse/lib/transform-post.js.es6@@ -234,12 +234,10 @@ export default function transformPost(// Show a "Flag to delete" message if not staff and you can't// otherwise delete it.- postAtts.showFlagDelete = (+ postAtts.showFlagDelete =!postAtts.canDelete &&postAtts.yours &&- (currentUser && !currentUser.staff)- );-+ (currentUser && !currentUser.staff);} else {postAtts.canRecover = postAtts.isDeleted && postAtts.canRecover;postAtts.canDelete =