bugfix: update heightmap to new klipper/moonraker version
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
@@ -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() {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user