fix that free shifts become green
This commit is contained in:
parent
b8c26b0fd0
commit
5b9ff7b7bf
|
@ -44,7 +44,6 @@ class ShiftCalendarShiftRenderer {
|
|||
|
||||
private function classForSignupState(ShiftSignupState $shiftSignupState) {
|
||||
switch ($shiftSignupState->getState()) {
|
||||
case ShiftSignupState::ADMIN:
|
||||
case ShiftSignupState::OCCUPIED:
|
||||
return 'success';
|
||||
|
||||
|
@ -58,6 +57,7 @@ class ShiftCalendarShiftRenderer {
|
|||
case ShiftSignupState::COLLIDES:
|
||||
return 'warning';
|
||||
|
||||
case ShiftSignupState::ADMIN:
|
||||
case ShiftSignupState::FREE:
|
||||
return 'danger';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue