aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2019-12-15 18:03:55 +0200
committerGitHub <noreply@github.com>2019-12-15 18:03:55 +0200
commit74b9389d8cb282c17f34dc0642a294690ee99890 (patch)
tree54beba7171727653b65f6cce8884766239ee31dc
parentf6aa416fe8eab95bf1815ee58cc201fc39dcba66 (diff)
Do not show any resolved features if informational
-rw-r--r--static/admin/index.html5
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'])),