From 3695e481ad94ab850794b36432f517e564150dd5 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 24 Sep 2023 00:20:34 +0200 Subject: [PATCH] refactor: remove unused check Signed-off-by: Stefan Dej --- src/components/panels/Extruder/EstimatedExtrusionOutput.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/panels/Extruder/EstimatedExtrusionOutput.vue b/src/components/panels/Extruder/EstimatedExtrusionOutput.vue index c446242c0..251cf1f23 100644 --- a/src/components/panels/Extruder/EstimatedExtrusionOutput.vue +++ b/src/components/panels/Extruder/EstimatedExtrusionOutput.vue @@ -24,9 +24,7 @@ export default class PressureAdvanceSettings extends Mixins(BaseMixin, ExtruderM mdiDiameterVariant = mdiDiameterVariant get showEstimatedExtrusion() { - const showBool = this.$store.state.gui.control.extruder.showEstimatedExtrusionInfo ?? true - - return showBool && this.filamentDiameter && this.nozzleDiameter + return this.$store.state.gui.control.extruder.showEstimatedExtrusionInfo ?? true } get extrudedLength(): number {