Add missing state reset to error handler

This commit is contained in:
James Allen 2018-01-31 09:34:17 +00:00
parent 1c6dc66ed1
commit 9721dffbb6

View file

@ -69,6 +69,7 @@ define [
.catch (response)-> .catch (response)->
{ data } = response { data } = response
$scope.error = data $scope.error = data
$scope.state.inflight = false
$scope.cancel = () -> $scope.cancel = () ->
$modalInstance.dismiss('cancel') $modalInstance.dismiss('cancel')