From 600739befb72ea760b7165028580e4b1096c1344 Mon Sep 17 00:00:00 2001 From: Willian Viana Date: Wed, 8 Nov 2023 14:45:15 -0300 Subject: [PATCH] fix(viirs): remove default value from confidenceToggle --- components/widgets/fires/fires-alerts-cumulative/selectors.js | 2 +- .../widgets/fires/fires-alerts-historical-daily/selectors.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/widgets/fires/fires-alerts-cumulative/selectors.js b/components/widgets/fires/fires-alerts-cumulative/selectors.js index e708b30406..3a9707015a 100644 --- a/components/widgets/fires/fires-alerts-cumulative/selectors.js +++ b/components/widgets/fires/fires-alerts-cumulative/selectors.js @@ -426,7 +426,7 @@ export const parseSentence = createSelector( highConfidenceWithInd, allAlertsWithInd, } = sentences; - const { confidenceToggle = true } = settings; + const { confidenceToggle } = settings; let { confidence } = options; /* diff --git a/components/widgets/fires/fires-alerts-historical-daily/selectors.js b/components/widgets/fires/fires-alerts-historical-daily/selectors.js index 4152abc6a5..97b82dd117 100644 --- a/components/widgets/fires/fires-alerts-historical-daily/selectors.js +++ b/components/widgets/fires/fires-alerts-historical-daily/selectors.js @@ -103,7 +103,7 @@ export const parseSentence = createSelector( ) => { if (!data) return null; const { initial, withInd, highConfidence } = sentences; - const { confidenceToggle = true } = settings; + const { confidenceToggle } = settings; const { dataset } = options; let { confidence } = options;