Skip to content

Commit 44c9e84

Browse files
authored
Merge pull request #3385 from Vizzuality/fix/forest-change-analysis
Fix/forest change analysis
2 parents 9e6a3bb + a3122e7 commit 44c9e84

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/assets/javascripts/map/presenters/tabs/AnalysisNewPresenter.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,12 @@ define(
753753
),
754754
'slug'
755755
)
756-
);
756+
).sort(function(a, b) {
757+
if (a === 'umd-loss-gain') {
758+
return 1;
759+
}
760+
return 0;
761+
});
757762
return dataset[0] || null;
758763
},
759764

0 commit comments

Comments
 (0)