Updated apps

This commit is contained in:
2026-07-20 22:52:35 -04:00
parent 28a8cb98f6
commit a0c3271743
1164 changed files with 94781 additions and 6892 deletions
@@ -352,6 +352,12 @@ export class MaintenanceSupporterCard extends LitElement {
dlg.taskType = task.type || "";
dlg.readingUnit = (task as any).reading_unit || "";
dlg.lang = L;
// #99: editable per-completion parts selection
// (skip on buy tasks — those restock instead).
const obj = this._objects.find((o) => o.entry_id === entry_id);
const isBuy = !!(task as any).part_ref;
dlg.parts = isBuy ? [] : (obj?.parts || []);
dlg.consumesParts = isBuy ? [] : ((task as any).consumes_parts || []);
dlg.open();
}}
>