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) {
|
||||
const { ui } = api;
|
||||
const { LANG } = api.const;
|
||||
const { current: LANG } = api.const.LANG;
|
||||
if (device.extruders && device.extruders[device.internal]) {
|
||||
updateFieldsFromSettings(device.extruders[device.internal]);
|
||||
ui.extruder.innerHTML =
|
||||
|
|
|
|||
Loading…
Reference in a new issue