[Client] Fix bug

This commit is contained in:
syuilo 2018-12-27 20:34:30 +09:00
parent cb8663873d
commit 2f901da58c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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('#')) {