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

hide disabled trainings in public calendar

This commit is contained in:
Sylvain 2017-10-10 18:13:30 +02:00
parent 4752fce762
commit 0e38574ef8

View File

@ -21,7 +21,7 @@ Application.Controllers.controller "CalendarController", ["$scope", "$state", "$
### PUBLIC SCOPE ###
## List of trainings
$scope.trainings = trainingsPromise
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
## List of machines
$scope.machines = machinesPromise