React: update dependencies (#7709)

- Fix lodash security issue
- Fix minors style issues detected by the upgrade

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/7745/head
Julien Pivotto 4 years ago committed by GitHub
parent 6a126b8049
commit a92ae7196b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,7 +91,7 @@ const AlertsContent: FC<AlertsProps> = ({ groups = [], statsCount }) => {
return hasFilterOn ? (
<Fragment key={i}>
<GroupInfo rules={group.rules}>
{group.file} > {group.name}
{group.file} &gt; {group.name}
</GroupInfo>
{group.rules.map((rule, j) => {
return (

@ -20,7 +20,7 @@ const Alerts: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix = '' })
response.data.groups.forEach(el => el.rules.forEach(r => ruleStatsCount[r.state]++));
}
return <AlertsWithStatusIndicator statsCount={ruleStatsCount} {...response.data} error={error} isLoading={isLoading} />;
return <AlertsWithStatusIndicator {...response.data} statsCount={ruleStatsCount} error={error} isLoading={isLoading} />;
};
export default Alerts;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save