diff --git a/src/components/mixins/zoffset.ts b/src/components/mixins/zoffset.ts
index e493e35f7..02c072eda 100644
--- a/src/components/mixins/zoffset.ts
+++ b/src/components/mixins/zoffset.ts
@@ -30,9 +30,7 @@ export default class ZoffsetMixin extends Vue {
}
get endstop_pin() {
- const endstop_pin = this.settings[this.stepper_name]?.endstop_pin ?? ''
-
- return endstop_pin.trim()
+ return this.settings[this.stepper_name]?.endstop_pin?.trim() ?? null
}
get zOffset(): number {
diff --git a/src/components/settings/SettingsControlTab.vue b/src/components/settings/SettingsControlTab.vue
index ed6d563e6..04c651cce 100644
--- a/src/components/settings/SettingsControlTab.vue
+++ b/src/components/settings/SettingsControlTab.vue
@@ -178,18 +178,20 @@
-
-
-
-
+
+
+
+
+
+