Skip to content

Commit

Permalink
fix: hide TemperaturePanel if no sensors would be shown
Browse files Browse the repository at this point in the history
  • Loading branch information
ssendev committed Jul 21, 2022
1 parent 8ab59b6 commit 47806b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mixins/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class DashboardMixin extends BaseMixin {
}

get printerAvailableSensorsCount() {
return this.$store.getters['printer/getAvailableSensors'].length
return this.$store.getters['printer/getTemperatureSensors'].length
}

get macroMode() {
Expand Down

0 comments on commit 47806b5

Please sign in to comment.