Commit e5dfcdf2 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'fix-double-click-token-name' into 'master'

Fix double click token name

Closes #29599

See merge request !10023
parents 0fa511fd 593d85f3
......@@ -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 {
......
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