aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/EventLog/EventList.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/EventLog/EventList.jsx')
-rw-r--r--web/src/js/components/EventLog/EventList.jsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/src/js/components/EventLog/EventList.jsx b/web/src/js/components/EventLog/EventList.jsx
index d0b036e7..14f2b5b2 100644
--- a/web/src/js/components/EventLog/EventList.jsx
+++ b/web/src/js/components/EventLog/EventList.jsx
@@ -83,7 +83,12 @@ class EventLogList extends Component {
}
function LogIcon({ event }) {
- const icon = { web: 'html5', debug: 'bug' }[event.level] || 'info'
+ const icon = {
+ web: 'html5',
+ debug: 'bug',
+ warn: 'exclamation-triangle',
+ error: 'ban'
+ }[event.level] || 'info'
return <i className={`fa fa-fw fa-${icon}`}></i>
}