File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -752,10 +752,10 @@ export const getters: GetterTree<PrinterState, RootState> = {
752
752
'temperature_probe' ,
753
753
'tmc2240' ,
754
754
'z_thermal_adjust'
755
- ]
755
+ ] as const
756
756
const supportedDrivers = [
757
757
'tmc2240'
758
- ]
758
+ ] as const
759
759
760
760
const sensors = Object . keys ( state . printer )
761
761
. reduce ( ( groups , item ) => {
@@ -773,7 +773,7 @@ export const getters: GetterTree<PrinterState, RootState> = {
773
773
} ) . toString ( )
774
774
: Vue . $filters . prettyCase ( name )
775
775
const color = Vue . $colorset . next ( getKlipperType ( item ) , item )
776
- const config = state . printer . configfile . settings [ item ]
776
+ const config = state . printer . configfile . settings [ item . toLowerCase ( ) ]
777
777
778
778
groups [ name ] = {
779
779
...state . printer [ item ] ,
@@ -802,7 +802,7 @@ export const getters: GetterTree<PrinterState, RootState> = {
802
802
'bme280' ,
803
803
'htu21d' ,
804
804
'sht3x'
805
- ]
805
+ ] as const
806
806
807
807
if ( supportedSensors . includes ( sensorType ) ) {
808
808
const sensor = state . printer [ `${ sensorType } ${ name } ` ]
You can’t perform that action at this time.
0 commit comments