Skip to content

Commit

Permalink
Don't show homeserver as selected when one isn't actually selected. F…
Browse files Browse the repository at this point in the history
…ixes maubot#57
  • Loading branch information
tulir committed Aug 11, 2019
1 parent e82980c commit c442ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maubot/management/frontend/src/pages/dashboard/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 && {
Expand Down

0 comments on commit c442ca4

Please sign in to comment.