diff --git a/src/features/forwards/options/components/advanced/advancedSettings/AdvancedSettingsComponent.js b/src/features/forwards/options/components/advanced/advancedSettings/AdvancedSettingsComponent.js
index 33748b3..8fb4696 100644
--- a/src/features/forwards/options/components/advanced/advancedSettings/AdvancedSettingsComponent.js
+++ b/src/features/forwards/options/components/advanced/advancedSettings/AdvancedSettingsComponent.js
@@ -4,7 +4,11 @@ import ExceptionsCard from "../exceptions/ExceptionsCard";
import ChangePointsCard from "../changePoints/ChangePointsCard";
const AdvancedSettingsComponent = ({ data }) => {
- const spaceBetweenCards = data && data.exceptions && data.changePoints;
+ const spaceBetweenCards =
+ data &&
+ data.exceptions &&
+ data.changePoints &&
+ data.changePoints.length > 0;
return (
<>
{data && data.exceptions && (
@@ -12,7 +16,7 @@ const AdvancedSettingsComponent = ({ data }) => {
)}
{spaceBetweenCards &&
}
- {data && data.changePoints && (
+ {data && data.changePoints && data.changePoints.length > 0 && (
)}
>