Commit f4feb651 by Félicie

partner can select a shift

parent c9bb2a20
Pipeline #1841 passed with stage
in 1 minute 28 seconds
...@@ -21,7 +21,7 @@ function can_exchange_shifts() { ...@@ -21,7 +21,7 @@ function can_exchange_shifts() {
* @returns boolean * @returns boolean
*/ */
function should_select_makeup() { function should_select_makeup() {
return partner_data.makeups_to_do > 0 && partner_data.is_associated_people === "False"; return partner_data.makeups_to_do == 0 && (partner_data.is_associated_people === "False" || (partner_data.is_associated_people === "True" && block_actions_for_attached_people === "False"));
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment