Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattapperson committed Aug 7, 2018
1 parent f07e713 commit c27491e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class BeatsPage extends React.PureComponent<BeatsPageProps, BeatsPageStat
<EuiFlexItem key={tag.id}>
<EuiBadge
color={tag.color}
iconType={hasMatches ? 'cross' : null}
iconType={hasMatches ? 'cross' : undefined}
onClick={
hasMatches
? () => this.removeTagsFromBeats(selectedBeats, tag)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,28 @@ describe('Beats Domain Lib', () => {
beatsDB = [
{
access_token: '9a6c99ae0fd84b068819701169cd8a4b',
enrollment_token: '1234',
active: true,
enrollment_token: '123kuil;4',
host_ip: '1.2.3.4',
host_name: 'foo.bar.com',
id: 'qux',
type: 'filebeat',
},
{
access_token: '188255eb560a4448b72656c5e99cae6f',
enrollment_token: '1234',
active: true,

enrollment_token: '12fghjyu34',
host_ip: '22.33.11.44',
host_name: 'baz.bar.com',
id: 'baz',
type: 'metricbeat',
},
{
access_token: '93c4a4dd08564c189a7ec4e4f046b975',
enrollment_token: '1234',
active: true,

enrollment_token: '12nfhgj34',
host_ip: '1.2.3.4',
host_name: 'foo.bar.com',
id: 'foo',
Expand All @@ -47,7 +52,9 @@ describe('Beats Domain Lib', () => {
},
{
access_token: '3c4a4dd08564c189a7ec4e4f046b9759',
enrollment_token: '1234',
active: true,

enrollment_token: '123sfd4',
host_ip: '11.22.33.44',
host_name: 'foo.com',
id: 'bar',
Expand Down

0 comments on commit c27491e

Please sign in to comment.