mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
React: update dependencies (#7709)
- Fix lodash security issue - Fix minors style issues detected by the upgrade Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
6a126b8049
commit
a92ae7196b
|
@ -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} > {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…
Reference in a new issue