From d2d5d3da0c83e23d7fbb5cbc361068b9f86dab56 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 15 Jan 2021 00:39:03 +0100 Subject: [PATCH] bugfix: delete margin top klipper state panel bugfix: peripherie pwm state true (check value) Signed-off-by: Stefan Dej --- src/pages/Dashboard.vue | 2 +- src/store/printer/getters.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index 4b155f13..8871b41b 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -3,8 +3,8 @@ + - diff --git a/src/store/printer/getters.js b/src/store/printer/getters.js index eb3aab11..ae230d81 100644 --- a/src/store/printer/getters.js +++ b/src/store/printer/getters.js @@ -225,7 +225,7 @@ export default { ) { if ( 'pwm' in state.configfile.config[key] && - state.configfile.config[key].pwm + state.configfile.config[key].pwm.toLowerCase() === "true" ) pwm = true if (