fix: placeholder not displaying
This commit is contained in:
parent
a4b3a57e1d
commit
7d32a8ecd7
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ export default class AuthorizePage extends IndexPage {
|
|||
|
||||
view() {
|
||||
if (!app.session.user) {
|
||||
return <Placeholder>{app.translator.trans("rhodes-island-oauth-center.forum.authorize.not_logged_in")}</Placeholder>;
|
||||
return <Placeholder text={app.translator.trans("rhodes-island-oauth-center.forum.authorize.not_logged_in")}/>;
|
||||
}
|
||||
if (this.loading) {
|
||||
return <LoadingIndicator></LoadingIndicator>;
|
||||
|
|
|
@ -37,7 +37,7 @@ export default class AuthorizedPage extends UserPage {
|
|||
|
||||
content() {
|
||||
if (this.records.length == 0) {
|
||||
return <Placeholder>{app.translator.trans('rhodes-island-oauth-center.forum.authorized.no_records')}</Placeholder>;
|
||||
return <Placeholder text={app.translator.trans('rhodes-island-oauth-center.forum.authorized.no_records')}/>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue