Skip to content
Snippets Groups Projects

Refactor Cart into checkerboard table

Merged Mateusz Kudela requested to merge mkudela/issue-173 into develop
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -308,8 +308,8 @@ class CartTable(CliveCheckerboardTable):
return
if removed_item.is_last:
second_last_cart_index = -2
cart_item_to_focus = cart_items[second_last_cart_index]
second_last_cart_item_index = -2
cart_item_to_focus = cart_items[second_last_cart_item_index]
else:
next_cart_item_index = removed_item.operation_index + 1
cart_item_to_focus = cart_items[next_cart_item_index]
Loading