Skip to content

Commit

Permalink
Bug 1919396: Fixed a11y violation for Deployment Config Details Pod S…
Browse files Browse the repository at this point in the history
…tatus ring
  • Loading branch information
dtaylor113 committed Jan 25, 2021
1 parent af071ca commit 3482f75
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const PodStatus: React.FC<PodStatusProps> = ({
const chartDonut = React.useMemo(() => {
return (
<ChartDonut
ariaTitle={`${title} ${subTitle}`}
animate={{
duration: ANIMATION_DURATION,
onEnd: updateOnEnd ? forceUpdate : undefined,
Expand All @@ -110,7 +111,7 @@ const PodStatus: React.FC<PodStatusProps> = ({
subTitle={truncSubTitle}
allowTooltip={false}
labels={() => null}
/*
/*
// @ts-ignore */
padAngle={({ datum }) => (datum.y > 0 ? 2 : 0)}
style={{
Expand All @@ -129,6 +130,8 @@ const PodStatus: React.FC<PodStatusProps> = ({
outerRadius,
size,
standalone,
title,
subTitle,
truncSubTitle,
subTitleComponent,
truncTitle,
Expand Down

0 comments on commit 3482f75

Please sign in to comment.