Skip to content

Commit

Permalink
fixed bug when the year is changed a composite map is not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Thannarot committed Aug 1, 2019
1 parent 5cdefe9 commit f9636dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@
if ($('#land-cover-classes-tab').hasClass('active')) {
$scope.updateAssemblageProduct('v3');
$scope.showProbabilityMap();
$scope.showCompositeMap();
} else if ($('#primitive-tab').hasClass('active')) {
$scope.updatePrimitive($scope.primitiveIndex, 'v3');
}
Expand Down Expand Up @@ -940,7 +941,7 @@
showErrorAlert(error.error);
console.log(error);
});
}, 15000);
}, 2000);
};

$scope.toggleCompositeMap = function () {
Expand Down

0 comments on commit f9636dc

Please sign in to comment.