diff --git a/components/widgets/forest-change/tree-loss-plantations/index.js b/components/widgets/forest-change/tree-loss-plantations/index.js index af5353eed4..809299f18a 100644 --- a/components/widgets/forest-change/tree-loss-plantations/index.js +++ b/components/widgets/forest-change/tree-loss-plantations/index.js @@ -65,6 +65,7 @@ export default { layers: [FOREST_LOSS], }, ], + dataType: 'naturalForest', sortOrder: { forestChange: 2, }, diff --git a/components/widgets/forest-change/tree-loss-plantations/selectors.js b/components/widgets/forest-change/tree-loss-plantations/selectors.js index 7564fb4e79..246ef69786 100644 --- a/components/widgets/forest-change/tree-loss-plantations/selectors.js +++ b/components/widgets/forest-change/tree-loss-plantations/selectors.js @@ -114,16 +114,12 @@ export const parseSentence = createSelector( (data, settings, locationName, sentence) => { if (!data) return null; const { startYear, endYear } = settings; - const plantationsLoss = sumBy(data, 'areaLoss') || 0; const totalLoss = sumBy(data, 'totalLoss') || 0; const outsideLoss = sumBy(data, 'outsideAreaLoss') || 0; const outsideEmissions = sumBy(data, 'outsideCo2Loss') || 0; const lossPhrase = 'natural forest'; - const percentage = - plantationsLoss > outsideLoss - ? (100 * plantationsLoss) / totalLoss - : (100 * outsideLoss) / totalLoss; + const percentage = (100 * outsideLoss) / totalLoss; const params = { location: locationName, startYear, diff --git a/components/widgets/land-cover/natural-forest/index.js b/components/widgets/land-cover/natural-forest/index.js index 6b8a65c7c8..5a001976cb 100644 --- a/components/widgets/land-cover/natural-forest/index.js +++ b/components/widgets/land-cover/natural-forest/index.js @@ -36,7 +36,7 @@ export default { categories: ['land-cover', 'summary'], types: ['global', 'country', 'geostore', 'aoi', 'wdpa', 'use'], admins: ['global', 'adm0', 'adm1', 'adm2'], - visible: ['dashboard', 'analysis'], + visible: ['dashboard'], datasets: [ { dataset: POLITICAL_BOUNDARIES_DATASET,