Don't show homeserver as selected when one isn't actually selected. Fixes #57
This commit is contained in:
parent
e82980c456
commit
c442ca4d86
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class Client extends BaseMainView {
|
||||||
return this.state.homeserver
|
return this.state.homeserver
|
||||||
? this.homeserverEntry([this.props.ctx.homeserversByURL[this.state.homeserver],
|
? this.homeserverEntry([this.props.ctx.homeserversByURL[this.state.homeserver],
|
||||||
this.state.homeserver])
|
this.state.homeserver])
|
||||||
: this.homeserverOptions[0] || {}
|
: {}
|
||||||
}
|
}
|
||||||
|
|
||||||
homeserverEntry = ([serverName, serverURL]) => serverURL && {
|
homeserverEntry = ([serverName, serverURL]) => serverURL && {
|
||||||
|
|
Loading…
Reference in a new issue