Force load of some data.

This commit is contained in:
Alexis Lahouze 2017-06-10 20:59:25 +02:00
parent 23f414b2d5
commit 65c9262257

View File

@ -504,6 +504,8 @@ var operationModule = angular.module('accountant.operations', [
$rootScope.$on('$destroy', function() { $rootScope.$on('$destroy', function() {
vm.onRangeSelected = angular.noop; vm.onRangeSelected = angular.noop;
}); });
vm.load(moment().date(1).year(2000), moment());
}) })
.directive('operationFormDialog', function($log, $ngBootbox) { .directive('operationFormDialog', function($log, $ngBootbox) {