mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
hide disabled spaces & machines in public calendar
This commit is contained in:
parent
f8f45bcb69
commit
1631e4ae5c
@ -24,10 +24,10 @@ Application.Controllers.controller "CalendarController", ["$scope", "$state", "$
|
||||
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||
|
||||
## List of machines
|
||||
$scope.machines = machinesPromise
|
||||
$scope.machines = machinesPromise.filter (t) -> !t.disabled
|
||||
|
||||
## List of spaces
|
||||
$scope.spaces = spacesPromise
|
||||
$scope.spaces = spacesPromise.filter (t) -> !t.disabled
|
||||
|
||||
## add availabilities source to event sources
|
||||
$scope.eventSources = []
|
||||
|
Loading…
Reference in New Issue
Block a user