From 3d6cc3ad269cb2a5c6e68d53fd75b32cc3a18515 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 10 Dec 2024 22:13:37 +0100 Subject: [PATCH] fix: fix z_tilt button for z_tilt_ng with Kalico Signed-off-by: Stefan Dej --- src/store/printer/getters.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/printer/getters.ts b/src/store/printer/getters.ts index ce9b15fa9..e5c800a24 100644 --- a/src/store/printer/getters.ts +++ b/src/store/printer/getters.ts @@ -780,9 +780,9 @@ export const getters: GetterTree = { }, existsZtilt: (state) => { - if (!state.configfile?.settings) return false + if (!state.gcode) return false - return 'z_tilt' in state.configfile.settings + return 'Z_TILT_ADJUST' in state.gcode.commands }, existsBedTilt: (state) => {