bugfix: topbar SAVE_CONFIG button doesnt work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
645084700d
commit
a512743038
@ -218,7 +218,7 @@ export default {
|
||||
this.$socket.sendObj('printer.emergency_stop', {}, 'socket/removeLoading',{ name: 'topbarEmergencyStop' });
|
||||
},
|
||||
clickSaveConfig: function() {
|
||||
this.$store.commit('server/addEvent', "SAVE_CONFIG");
|
||||
this.$store.commit('server/addEvent', { message: "SAVE_CONFIG", type: "command" });
|
||||
this.$store.commit('socket/addLoading', { name: 'topbarSaveConfig' });
|
||||
this.$socket.sendObj('printer.gcode.script', { script: "SAVE_CONFIG" }, 'socket/removeLoading', { name: 'topbarSaveConfig' });
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user