(cherry picked from commit 0388082768)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
co-authored by
Ashley Harrison
parent
22bec079b4
commit
0023a01670
@@ -29,6 +29,8 @@ export const SearchItem: FC<Props> = ({ item, editable, onToggleChecked, onTagSe
|
||||
const styles = useStyles2(getStyles);
|
||||
const tagSelected = useCallback(
|
||||
(tag: string, event: React.MouseEvent<HTMLElement>) => {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
onTagSelected(tag);
|
||||
},
|
||||
[onTagSelected]
|
||||
|
||||
Reference in New Issue
Block a user