Reset FileService status when switching cards

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-07-02 09:34:57 +02:00
parent 38bb4c7a3a
commit af646c1999
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -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;