Fix double click token name

This commit is contained in:
Clement Ho 2017-03-16 15:27:08 -05:00
parent fc1a192e80
commit 593d85f353

View file

@ -159,7 +159,7 @@ class FilteredSearchVisualTokens {
const name = token.querySelector('.name');
const value = token.querySelector('.value');
if (token.classList.contains('filtered-search-token')) {
if (token.classList.contains('filtered-search-token') && value) {
FilteredSearchVisualTokens.addFilterVisualToken(name.innerText);
input.value = value.innerText;
} else {