mirror of
https://github.com/flarum/core.git
synced 2025-05-07 07:55:44 +02:00
Don't show placeholder when loading discussions
This commit is contained in:
parent
ece23de750
commit
695df18be0
@ -54,7 +54,7 @@ export default class DiscussionList extends Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.discussions.length == 0) {
|
if (this.discussions.length === 0 && !this.loading) {
|
||||||
const text = 'Looks like there are no discussions here. Why don\'t you create a new one?';
|
const text = 'Looks like there are no discussions here. Why don\'t you create a new one?';
|
||||||
return (
|
return (
|
||||||
<div className="DiscussionList">
|
<div className="DiscussionList">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user