mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
display empty
This commit is contained in:
parent
16be9276b9
commit
71f7bf2099
@ -92,10 +92,15 @@ export default class Streams extends React.Component {
|
||||
</div>
|
||||
</ActionsBar>
|
||||
{
|
||||
this.state.list.length > 0 &&
|
||||
<div className="streams-list">
|
||||
{this.state.list.map(this.renderListItem)}
|
||||
</div>
|
||||
this.state.list.length > 0 ?
|
||||
<div className="streams-list">
|
||||
{this.state.list.map(this.renderListItem)}
|
||||
</div> :
|
||||
<div className="streams-list">
|
||||
<div className="empty">
|
||||
<antd.Empty description="No streams found" />
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user