1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

hide disabled trainings in pricing admin zone

This commit is contained in:
Sylvain 2017-10-11 13:09:42 +02:00
parent 0ab01091cd
commit ad288628cc

View File

@ -31,7 +31,7 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
$scope.trainingCreditsGroups = {}
## List of trainings
$scope.trainings = trainingsPromise
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
## List of machines
$scope.machines = machinesPromise