Commit c65aff6f authored by Maxime Chaillet's avatar Maxime Chaillet

display refresh icon.

parent 3161b719
......@@ -82,7 +82,7 @@ class EventListMenu extends React.Component {
<EventListMenuButton text='PDF' glyph='download' tooltipText='Download as PDF' isEnabled={!(isNewEventVisible === undefined || isNewEventVisible === true || numberOfMatchingEventsFound === 0)} />
</NavItem>
<NavItem>
<NewlyAvailableEventsDialogue eventCount={this.props.periodicData} />
<NewlyAvailableEventsDialogue newlyArrivedEventCount={this.props.periodicData} />
......
import React from 'react';
import { Glyphicon } from 'react-bootstrap';
class NewlyAvailableEventsDialogue extends React.Component {
render() {
return (<span style={{ color: '#888888' }}>
{this.props.newlyArrivedEventCount ? this.props.newlyArrivedEventCount : 0} new logs available.
</span>)
return (<span style={{ color: '#888888' }}> {this.props.newlyArrivedEventCount ? this.props.newlyArrivedEventCount.length : 0} new logs available. <Glyphicon glyph='refresh' /> </span>)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment