Commit 0d8f275a by Yvon Kerdoncuff

properly fix it

parent d2073402
Pipeline #4096 canceled with stage
...@@ -319,7 +319,7 @@ function update_members_makeups(member_ids, action, description) { ...@@ -319,7 +319,7 @@ function update_members_makeups(member_ids, action, description) {
selected_rows = []; selected_rows = [];
for (element of res['res']) { for (element of res['res']) {
member_index = makeups_members.findIndex(m => m.id == element['mid']); member_index = makeups_members.findIndex(m => m.id == element['mid']);
makeups_members[member_index].makeups_to_do = action === 'increment' ? 1 : -1 makeups_members[member_index].makeups_to_do += action === 'increment' ? 1 : -1
makeups_members[member_index].display_std_points = element['standard_points'] makeups_members[member_index].display_std_points = element['standard_points']
} }
display_makeups_members(); display_makeups_members();
......
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