mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:27:25 +08:00
FIX: Linting via prettier
This commit is contained in:
parent
b4d1416076
commit
5e89714f77
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user