mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-17 11:54:22 +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
|
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## List of machines
|
## List of machines
|
||||||
$scope.machines = machinesPromise
|
$scope.machines = machinesPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## List of spaces
|
## List of spaces
|
||||||
$scope.spaces = spacesPromise
|
$scope.spaces = spacesPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## add availabilities source to event sources
|
## add availabilities source to event sources
|
||||||
$scope.eventSources = []
|
$scope.eventSources = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user