We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 239e142 commit 0e3b3a8Copy full SHA for 0e3b3a8
components/widgets/land-cover/tree-cover/selectors.js
@@ -27,12 +27,10 @@ export const parseData = createSelector(
27
const parsedData = [
28
{
29
label: 'Tree Cover'.concat(label),
30
- value: hasPlantations ? plantationsCover : cover - plantationsCover,
+ value: hasPlantations ? plantationsCover : cover,
31
color: colors.naturalForest,
32
percentage:
33
- ((hasPlantations ? plantationsCover : cover - plantationsCover) /
34
- totalArea) *
35
- 100,
+ ((hasPlantations ? plantationsCover : cover) / totalArea) * 100,
36
},
37
38
label: 'Other Land Cover',
0 commit comments