mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
FIX: User deleted posts weren't red
This commit is contained in:
parent
84a01599c6
commit
03068e3556
@ -380,7 +380,7 @@ export default createWidget('post', {
|
|||||||
if (attrs.selected) { classNames.push('selected'); }
|
if (attrs.selected) { classNames.push('selected'); }
|
||||||
if (attrs.topicOwner) { classNames.push('topic-owner'); }
|
if (attrs.topicOwner) { classNames.push('topic-owner'); }
|
||||||
if (attrs.hidden) { classNames.push('post-hidden'); }
|
if (attrs.hidden) { classNames.push('post-hidden'); }
|
||||||
if (attrs.deleted) { classNames.push('deleted'); }
|
if (attrs.deleted || attrs.user_deleted) { classNames.push('deleted'); }
|
||||||
if (attrs.primary_group_name) { classNames.push(`group-${attrs.primary_group_name}`); }
|
if (attrs.primary_group_name) { classNames.push(`group-${attrs.primary_group_name}`); }
|
||||||
if (attrs.wiki) { classNames.push(`wiki`); }
|
if (attrs.wiki) { classNames.push(`wiki`); }
|
||||||
if (attrs.isWhisper) { classNames.push('whisper'); }
|
if (attrs.isWhisper) { classNames.push('whisper'); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user