Skip to content

Commit

Permalink
refactor: refactor statusText getter
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Dec 8, 2023
1 parent 00e1055 commit 9987984
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/inputs/FilamentSensor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default class FilamentSensor extends Mixins(BaseMixin) {
get statusText() {
if (this.filament_detected) return this.$t('Panels.MiscellaneousPanel.RunoutSensor.Detected')
else return this.$t('Panels.MiscellaneousPanel.RunoutSensor.Empty')
return this.$t('Panels.MiscellaneousPanel.RunoutSensor.Empty')
}
changeSensor() {
Expand Down

0 comments on commit 9987984

Please sign in to comment.