Updated apps
This commit is contained in:
1 parent
28a8cb98f6
commit
a0c3271743
1164 files changed
+94781
-6892
No files matched your search
@@ -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();
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user