Skip to content

Commit

Permalink
refactor: remove unused check
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Sep 23, 2023
1 parent 2ae701c commit 3695e48
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/panels/Extruder/EstimatedExtrusionOutput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3695e48

Please sign in to comment.