Skip to content

Commit

Permalink
fix: show extruder extra menu without load/unload macros (mainsail-cr…
Browse files Browse the repository at this point in the history
…ew#1747)

Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou authored Jan 20, 2024
1 parent 3ed9a9b commit 3a04c36
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/panels/ExtruderControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,12 @@ export default class ExtruderControlPanel extends Mixins(BaseMixin, ControlMixin
}
get showFilamentMacros(): boolean {
return this.loadFilamentMacro !== undefined || this.unloadFilamentMacro !== undefined
return (
this.loadFilamentMacro !== undefined ||
this.unloadFilamentMacro !== undefined ||
this.purgeFilamentMacro !== undefined ||
this.cleanNozzleMacro !== undefined
)
}
get showTools(): boolean {
Expand Down

0 comments on commit 3a04c36

Please sign in to comment.