mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 18:32:50 +00:00
fixed selected month
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user