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) => {