[Client] Fix bug

This commit is contained in:
syuilo 2018-12-27 20:34:30 +09:00
parent 3a70e8b096
commit ae439e3eeb

View file

@ -104,7 +104,7 @@ export default Vue.extend({
}).then(async ({ canceled, result: query }) => {
if (canceled) return;
const q = this.q.trim();
const q = query.trim();
if (q.startsWith('@')) {
this.$router.push(`/${q}`);
} else if (q.startsWith('#')) {