fix LANG api ref for extruders
This commit is contained in:
parent
d976461ed4
commit
cb0344fb70
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ function updateFieldsFromSettings(setrec, uirec = api.ui, opt = {}) {
|
||||||
|
|
||||||
function updateExtruderFields(device) {
|
function updateExtruderFields(device) {
|
||||||
const { ui } = api;
|
const { ui } = api;
|
||||||
const { LANG } = api.const;
|
const { current: LANG } = api.const.LANG;
|
||||||
if (device.extruders && device.extruders[device.internal]) {
|
if (device.extruders && device.extruders[device.internal]) {
|
||||||
updateFieldsFromSettings(device.extruders[device.internal]);
|
updateFieldsFromSettings(device.extruders[device.internal]);
|
||||||
ui.extruder.innerHTML =
|
ui.extruder.innerHTML =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue