mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-04-10 00:53:51 +02: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
|
$scope.machines = machinesPromise
|
||||||
|
|
||||||
## trainings list
|
## trainings list
|
||||||
$scope.trainings = trainingsPromise
|
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## spaces list
|
## spaces list
|
||||||
$scope.spaces = spacesPromise
|
$scope.spaces = spacesPromise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user