From 74b9389d8cb282c17f34dc0642a294690ee99890 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas <11616378+mistermantas@users.noreply.github.com> Date: Sun, 15 Dec 2019 18:03:55 +0200 Subject: Do not show any resolved features if informational --- static/admin/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/admin/index.html b/static/admin/index.html index 595add0..3071a98 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -33,6 +33,11 @@ var resultOfState = 'This incident has been resolved.'; } + if (entry.getIn(['data', 'informational']) === true) { + var resultOfStateProps = {"class": "green"}; + var resultOfState = ''; + } + return h('div', {}, h('h1', {}, entry.getIn(['data', 'title'])), -- cgit v1.2.3-70-g09d2