fix: Stabilize shopping list queuing (#6498)

This commit is contained in:
Michael Genson
2025-11-03 18:38:33 -06:00
committed by GitHub
parent 3a4875a54f
commit 7bb0f0801a
2 changed files with 26 additions and 17 deletions

View File

@@ -97,13 +97,8 @@ export function useShoppingListCrud(
.sort(sortCheckedItems);
}
// Update the item if it's checked, otherwise updateUncheckedListItems will handle it
if (item.checked) {
shoppingListItemActions.updateItem(item);
}
shoppingListItemActions.updateItem(item);
updateListItemOrder();
updateUncheckedListItems();
}
function deleteListItem(item: ShoppingListItemOut) {