I don’t think it was an intentional change. The code is still there. I think something broke when the post widgets were updated to Glimmer components.
When I change this to
{{#if @post.deleted_at}}
and also edit line 14
{{formatDate @post.deleted_at format="tiny"}}
I am able to restore most of it.
But I wasn’t able to make the avatar work. Based on
I thought it would be
<UserAvatar @size="tiny" @user={{@post.deleted_by}} />
but that didn’t work.