Skip to content
Snippets Groups Projects
Commit 7d7a1125 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix #427 - don't suggest hashtag if the search value contains a space

parent 1d5cbfa3
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ const normalizeSuggestions = (state, value, accounts) => {
}
];
if (value.indexOf('@') === -1) {
if (value.indexOf('@') === -1 && value.indexOf(' ') === -1) {
newSuggestions.push({
title: 'hashtag',
items: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment