login by token

... and other improvements
This commit is contained in:
xmcp
2019-03-06 22:45:38 +08:00
parent 5e51c6ff20
commit 040dd2f655
4 changed files with 72 additions and 35 deletions

View File

@@ -86,7 +86,7 @@ class ControlBar extends PureComponent {
}
const mode=this.state.search_text.startsWith('#') ? 'single' : 'search';
this.set_mode(mode,this.state.search_text||null);
this.set_mode(mode,this.state.search_text||'');
}
}