mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
prevent create new availability with disabled training
This commit is contained in:
parent
0e38574ef8
commit
4d7a317315
@ -312,7 +312,7 @@ Application.Controllers.controller 'CreateEventModalController', ["$scope", "$ui
|
||||
$scope.machines = machinesPromise
|
||||
|
||||
## trainings list
|
||||
$scope.trainings = trainingsPromise
|
||||
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||
|
||||
## spaces list
|
||||
$scope.spaces = spacesPromise
|
||||
|
Loading…
x
Reference in New Issue
Block a user