From e286cf2f1c4fef57d45b6166ba57d89b739c2500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sun, 2 Sep 2018 19:58:36 +0100 Subject: [PATCH] fix(ui): remove dead check --- .../Components/Grid/AlertGrid/AlertGroup/Annotation/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.js index 70eae7ec5..92819de8b 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.js @@ -29,8 +29,9 @@ const RenderNonLinkAnnotation = inject("alertStore")( { visible: true, show(e) { - // don't action link clicks inside Linkify - if (e.target.nodeName !== "A") this.visible = true; + // Linkify only handles value, no need to check for links of + // collapsed annotation + this.visible = true; }, hide(e) { // don't action link clicks inside Linkify