1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

fixed selected month

This commit is contained in:
2016-06-01 17:56:48 -05:00
parent b92b2f0111
commit 759eff9109
2 changed files with 7 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ app.controller('SensorInfoController', function($scope, $http, $routeParams) {
if ($scope.list.length > 0) {
$scope.selectedObject = $scope.list[0];
$scope.selectedMonth = $scope.list[0].months[0];
$scope.selectedMonth = $scope.list[0].months[$scope.list.months.length];
$scope.loadingMonth = true;
$scope.loadingYear = true;