mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +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>
|
</div>
|
||||||
</ActionsBar>
|
</ActionsBar>
|
||||||
{
|
{
|
||||||
this.state.list.length > 0 &&
|
this.state.list.length > 0 ?
|
||||||
<div className="streams-list">
|
<div className="streams-list">
|
||||||
{this.state.list.map(this.renderListItem)}
|
{this.state.list.map(this.renderListItem)}
|
||||||
</div>
|
</div> :
|
||||||
|
<div className="streams-list">
|
||||||
|
<div className="empty">
|
||||||
|
<antd.Empty description="No streams found" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user