test
This commit is contained in:
parent
8daa0fced8
commit
c04db7ece4
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,7 @@ module.exports = React.createClass({
|
|||
|
||||
this.setState({protocolsLoading: true});
|
||||
MatrixClientPeg.get().getThirdpartyProtocols().done((response) => {
|
||||
console.log('got 3p networks: '+response);
|
||||
this.protocols = response;
|
||||
this.setState({protocolsLoading: false});
|
||||
}, (err) => {
|
||||
|
@ -498,6 +499,9 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
console.log('renderiong with 3p networks: '+ this.protocols);
|
||||
|
||||
|
||||
let content;
|
||||
if (this.state.loading) {
|
||||
content = <div className="mx_RoomDirectory">
|
||||
|
|
Loading…
Add table
Reference in a new issue