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