mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
hide disabled trainings in pricing admin zone
This commit is contained in:
parent
0ab01091cd
commit
ad288628cc
@ -31,7 +31,7 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
$scope.trainingCreditsGroups = {}
|
$scope.trainingCreditsGroups = {}
|
||||||
|
|
||||||
## List of trainings
|
## List of trainings
|
||||||
$scope.trainings = trainingsPromise
|
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## List of machines
|
## List of machines
|
||||||
$scope.machines = machinesPromise
|
$scope.machines = machinesPromise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user