Commit 3795a517 by Damien Moulard

fix display update after deleting shift template registration

parent cc820c8f
Pipeline #1944 passed with stage
in 1 minute 31 seconds
......@@ -62,6 +62,8 @@ function display_member_info() {
$('.member_makeups').text(selected_member.makeups_to_do);
if (selected_member.shift_template_id === undefined || selected_member.shift_template_id === null) {
$('.member_shift').text("");
$("#remove_shift_template_button").hide();
$("#remove_shift_template_button").off();
} else {
......
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