|
@@ -766,7 +766,11 @@ function ReleaseComparisonChart({
|
|
|
return diff ? (
|
|
|
<Change color={defined(diffColor) ? diffColor : undefined}>
|
|
|
{diff}{' '}
|
|
|
- {defined(diffDirection) && <IconArrow direction={diffDirection} size="xs" />}
|
|
|
+ {defined(diffDirection) ? (
|
|
|
+ <IconArrow direction={diffDirection} size="xs" />
|
|
|
+ ) : (
|
|
|
+ <StyledNotAvailable />
|
|
|
+ )}
|
|
|
</Change>
|
|
|
) : null;
|
|
|
}
|
|
@@ -1050,4 +1054,8 @@ const ChartTable = styled(PanelTable)`
|
|
|
}
|
|
|
`;
|
|
|
|
|
|
+const StyledNotAvailable = styled(NotAvailable)`
|
|
|
+ display: inline-block;
|
|
|
+`;
|
|
|
+
|
|
|
export default ReleaseComparisonChart;
|