Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
Signed-off-by: nofar9792 <nofar.cohen@logz.io>
  • Loading branch information
nofar9792 committed Apr 19, 2022
1 parent 9630fc4 commit ade5d73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ exports[`<MonitorATMServicesView> ATM snapshot test 1`] = `
</Fragment>
`;
exports[`<MonitorATMServicesView> ATM snapshot with latencies 1`] = `
exports[`<MonitorATMServicesView> ATM snapshot test with no metrics 1`] = `
<Fragment>
<Alert
message={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('<MonitorATMServicesView>', () => {
expect(wrapper).toMatchSnapshot();
});

it('ATM snapshot with latencies', () => {
it('ATM snapshot test with no metrics', () => {
mockFetchServices.mockResolvedValue([]);
wrapper.setProps({
metrics: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,8 @@ export class MonitorATMServicesViewImpl extends React.PureComponent<TProps, Stat
return name.toLowerCase().includes(e.target.value.toLowerCase());
});

this.setState({ searchOps: e.target.value });

this.setState({
searchOps: e.target.value,
serviceOpsMetrics: filteredData,
});
}}
Expand Down

0 comments on commit ade5d73

Please sign in to comment.