bugfix: fix typo for gpio power devices

update update.md to 0.2.4

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2020-10-16 22:58:37 +02:00
1 parent 01da938a79
commit 470a7633c5
3 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -130,7 +130,7 @@ export default {
Vue.prototype.$socket.sendObj('server.files.get_directory', { path: 'config_examples' }, 'getDirectory');
//load plug data
if (data.plugins.includes("gpio_power") !== false) Vue.prototype.$socket.sendObj('machine.gpio_power.devices', {}, 'getPowerDevices');
if (data.plugins.includes("power") !== false) Vue.prototype.$socket.sendObj('machine.gpio_power.devices', {}, 'getPowerDevices');
dispatch('initPrinter');
} else {
@@ -245,7 +245,7 @@ export default {
}
} else {
commit('setPowerDevices', data.devices);
Vue.prototype.$socket.sendObj('machine.gpio_power.status', {}, 'getPowerDevicesStatus');
}
},
@@ -382,4 +382,4 @@ export default {
setSettings({ commit }, data) {
commit('setSettings', data);
},
}
}