From a28632811c24e227f45df3340eb6abc1dd652dd8 Mon Sep 17 00:00:00 2001 From: Lucio Date: Sat, 4 Jul 2026 00:15:37 +0200 Subject: [PATCH] feat(afc): gate lane eject on mounted tool Add an optional `mounted` flag to the AFC lane type and drive the lane Eject button's disabled state from it: when the backend reports it, Eject enables only for the lane whose tool is on the carrier. When `mounted` is absent it falls back to the exact previous expression, so behaviour is unchanged for backends that don't report it. This is to allow for better control of multi-tool machines. Signed-off-by: Lucio --- src/components/widgets/afc/AfcCardUnitLaneActions.vue | 8 +++++++- src/typings/klipper.d.ts | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/widgets/afc/AfcCardUnitLaneActions.vue b/src/components/widgets/afc/AfcCardUnitLaneActions.vue index 524152dd37..48b0c0432f 100644 --- a/src/components/widgets/afc/AfcCardUnitLaneActions.vue +++ b/src/components/widgets/afc/AfcCardUnitLaneActions.vue @@ -49,7 +49,7 @@