From d44d20060407a3406afdb5470b82cecea1c6f925 Mon Sep 17 00:00:00 2001 From: Willian Viana Date: Mon, 27 Jan 2025 15:31:29 -0300 Subject: [PATCH] feat(plantations): add forest type 'plantations' to tree loss widgets --- components/widgets/forest-change/tree-loss-global/index.js | 5 ++--- components/widgets/forest-change/tree-loss/index.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/widgets/forest-change/tree-loss-global/index.js b/components/widgets/forest-change/tree-loss-global/index.js index c5ef19def4..06215f72cd 100644 --- a/components/widgets/forest-change/tree-loss-global/index.js +++ b/components/widgets/forest-change/tree-loss-global/index.js @@ -8,8 +8,7 @@ export default { title: 'Global Annual Tree cover loss', alerts: [ { - text: - 'The methods behind this data have changed over time. Be cautious comparing old and new data, especially before/after 2015. [Read more here](https://www.globalforestwatch.org/blog/data-and-research/tree-cover-loss-satellite-data-trend-analysis/).', + text: 'The methods behind this data have changed over time. Be cautious comparing old and new data, especially before/after 2015. [Read more here](https://www.globalforestwatch.org/blog/data-and-research/tree-cover-loss-satellite-data-trend-analysis/).', visible: ['global', 'country', 'geostore', 'aoi', 'wdpa', 'use'], }, ], @@ -25,7 +24,7 @@ export default { { key: 'forestType', label: 'Forest Type', - whitelist: ['ifl', 'primary_forest'], + whitelist: ['ifl', 'primary_forest', 'plantations'], type: 'select', placeholder: 'All tree cover', clearable: true, diff --git a/components/widgets/forest-change/tree-loss/index.js b/components/widgets/forest-change/tree-loss/index.js index 75561e7080..a33aa626a6 100644 --- a/components/widgets/forest-change/tree-loss/index.js +++ b/components/widgets/forest-change/tree-loss/index.js @@ -52,7 +52,7 @@ export default { { key: 'forestType', label: 'Forest Type', - whitelist: ['ifl', 'mangroves_2016'], + whitelist: ['ifl', 'mangroves_2016', 'plantations'], type: 'select', placeholder: 'All tree cover', clearable: true,