diff --git a/framework/core/js/src/forum/components/PostsUserPage.js b/framework/core/js/src/forum/components/PostsUserPage.js index ce9577653..022e87144 100644 --- a/framework/core/js/src/forum/components/PostsUserPage.js +++ b/framework/core/js/src/forum/components/PostsUserPage.js @@ -44,6 +44,14 @@ export default class PostsUserPage extends UserPage { } content() { + if (this.posts.length === 0 && ! this.loading) { + return ( +
+ +
+ ); + } + let footer; if (this.loading) { @@ -60,15 +68,6 @@ export default class PostsUserPage extends UserPage { ); } - if (this.posts.length === 0 && !this.loading) { - const text = app.translator.trans('core.forum.user.posts_empty_text'); - return ( -
- {Placeholder.component({text})} -
- ); - } - return (