restore recipe list ordering, properly removing c-ingredient-li and update 'selected' checkmarks in c-op-list

This commit is contained in:
Robin Scholtes 2023-08-02 18:54:00 +12:00
parent 4a07d52230
commit ede69a7a1a
5 changed files with 23 additions and 15 deletions

View file

@ -123,11 +123,6 @@ export class COperationList extends HTMLElement {
if (item.parentNode.id === targetListId) {
this.app.manager.recipe.addOperation(item.name);
item.remove();
return;
}
if (item.parentNode.id !== targetListId) {
return;
}
}
});