Skip to content

Commit

Permalink
fix: show extruder extra menu without load/unload_filament macros
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Jan 14, 2024
1 parent 4ae21da commit 480626e
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 480626e

Please sign in to comment.