bugfix: update heightmap to new klipper/moonraker version

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej
2020-08-31 22:06:43 +02:00
parent 601dd07f85
commit 0e21d865b7
2 changed files with 3 additions and 2 deletions

View File

@@ -214,7 +214,7 @@
},
computed: {
...mapState({
config: state => state.config,
config: state => state.printer.configfile.config,
bed_mesh: state => state.printer.bed_mesh,
loadings: state => state.loadings,
}),
@@ -304,6 +304,7 @@
},
watch: {
config: function() {
window.console.log(this.config);
this.profiles = this.$store.getters.getBedMeshProfiles;
},
profile: function() {

View File

@@ -220,7 +220,7 @@ export default {
currentProfile = state.printer.bed_mesh.profile_name;
}
for (let [key, value] of Object.entries(state.config)) {
for (let [key, value] of Object.entries(state.printer.configfile.config)) {
let nameSplit = key.split(" ");
if (nameSplit.length > 1 && nameSplit[0] === "bed_mesh" && nameSplit[1] !== undefined) {