Browse Source

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
commit
a92ae7196b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/ui/react-app/src/pages/alerts/AlertContents.tsx
  2. 2
      web/ui/react-app/src/pages/alerts/Alerts.tsx
  3. 2801
      web/ui/react-app/yarn.lock

2
web/ui/react-app/src/pages/alerts/AlertContents.tsx

@ -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 (

2
web/ui/react-app/src/pages/alerts/Alerts.tsx

@ -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;

2801
web/ui/react-app/yarn.lock

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