this.props.fetchCurrentUser()
.then(() => Promise.all([
this.props.fetchAppState(),
- this.props.fetchOrganizations()
+ this.props.fetchOrganizations(),
+ this.props.fetchLanguages()
]))
- .then(this.finishLoading)
- .then(this.props.fetchLanguages)
- .catch(this.finishLoading);
+ .then(this.finishLoading, this.finishLoading);
}
componentWillUnmount () {
currentFilter={language}/>
{Object.keys(profilesToShow).length === 0 && (
- <div className="alert alert-warning">
+ <div className="alert alert-warning spacer-top">
{translate('no_results')}
</div>
)}