Better logic for checking if channel has loaded

Этот коммит содержится в:
Reed Garmsen
2015-07-10 11:48:52 -07:00
родитель 212a0da5f4
Коммит 2a1cdc68c8
3 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@@ -79,7 +79,7 @@ module.exports = React.createClass({
<button data-toggle="modal" data-target="#new_channel" data-channeltype={this.state.channel_type} type="button" className="btn btn-primary channel-create-btn" onClick={this.handleNewChannel}>Create New Channel</button>
</div>
<div className="modal-body">
{moreChannels ?
{!moreChannels.loading ?
(moreChannels.length ?
<table className="more-channel-table table">
<tbody>