select last item on retry

This commit is contained in:
Fabricio 2018-12-02 14:57:57 -02:00
parent 8529ec7c74
commit 888ea8935c

View file

@ -263,7 +263,8 @@ const dashboardHTML = `
}
$scope.retry = () => {
$http.get(<<.DashboardRetryPath>> + $scope.selectedItem.id);
$http.get(<<.DashboardRetryPath>> + $scope.selectedItem.id)
.then(() => $scope.show($scope.items[$scope.items.length - 1]));
}
$scope.prettifyBody = key => {