mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
fix: go to training planning when trying to book not trained machine
This commit is contained in:
parent
8a68445d2e
commit
5af64d1cd0
@ -126,7 +126,7 @@ _reserveMachine = (machine, e) ->
|
||||
|
||||
# modal is close with validation
|
||||
$scope.ok = ->
|
||||
$state.go('app.logged.trainings_reserve')
|
||||
$state.go('app.logged.trainings_reserve', {id: $scope.machine.trainings[0].id})
|
||||
$uibModalInstance.close(machine)
|
||||
|
||||
# modal is closed with escaping
|
||||
|
Loading…
Reference in New Issue
Block a user