Reset FileService status when switching cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -43,6 +43,7 @@ app.controller('CardController', function ($scope, $rootScope, $sce, $location,
|
||||
return $state.params;
|
||||
}, function (params) {
|
||||
$scope.params = params;
|
||||
$scope.fileservice.reset();
|
||||
}, true);
|
||||
$scope.params = $state.params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user