diff --git a/framework/core/js/src/forum/components/PostsUserPage.js b/framework/core/js/src/forum/components/PostsUserPage.js index 95b9ed73c..ce9577653 100644 --- a/framework/core/js/src/forum/components/PostsUserPage.js +++ b/framework/core/js/src/forum/components/PostsUserPage.js @@ -1,6 +1,7 @@ import UserPage from './UserPage'; import LoadingIndicator from '../../common/components/LoadingIndicator'; import Button from '../../common/components/Button'; +import Placeholder from '../../common/components/Placeholder'; import CommentPost from './CommentPost'; /** @@ -59,6 +60,15 @@ 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 ( +