mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
FIX: Don't show trash can for user deleted posts
This commit is contained in:
parent
57c518eee1
commit
166a056497
@ -118,7 +118,7 @@ export default createWidget('actions-summary', {
|
||||
body.push(h('div.clearfix'));
|
||||
});
|
||||
|
||||
if (attrs.isDeleted) {
|
||||
if (attrs.deleted_at) {
|
||||
body.push(h('div.post-action', [
|
||||
iconNode('trash-o'),
|
||||
' ',
|
||||
|
Loading…
x
Reference in New Issue
Block a user