diff options
author | Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> | 2019-12-15 18:03:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 18:03:55 +0200 |
commit | 74b9389d8cb282c17f34dc0642a294690ee99890 (patch) | |
tree | 54beba7171727653b65f6cce8884766239ee31dc /static/admin | |
parent | f6aa416fe8eab95bf1815ee58cc201fc39dcba66 (diff) |
Do not show any resolved features if informational
Diffstat (limited to 'static/admin')
-rw-r--r-- | static/admin/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
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'])), |