Commit 593d85f3 authored by Clement Ho's avatar Clement Ho

Fix double click token name

parent fc1a192e
...@@ -159,7 +159,7 @@ class FilteredSearchVisualTokens { ...@@ -159,7 +159,7 @@ class FilteredSearchVisualTokens {
const name = token.querySelector('.name'); const name = token.querySelector('.name');
const value = token.querySelector('.value'); const value = token.querySelector('.value');
if (token.classList.contains('filtered-search-token')) { if (token.classList.contains('filtered-search-token') && value) {
FilteredSearchVisualTokens.addFilterVisualToken(name.innerText); FilteredSearchVisualTokens.addFilterVisualToken(name.innerText);
input.value = value.innerText; input.value = value.innerText;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment