Skip to content

Commit

Permalink
fix: only show recommendations for last projection
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed May 6, 2020
1 parent e6ee6dc commit b47a75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Recommendation.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function Recommendation({ sameAltitudinalZone }) {
let result;

if (projectionMode === 'f') {
projections = projectionResult.form.projections;
projections = projectionResult.form.projections.slice(-1) || [];
} else {
const { moderate, extreme } = projectionResult;
projections = [
Expand Down

0 comments on commit b47a75d

Please sign in to comment.