diff --git a/src/interface/Settings.js b/src/interface/Settings.js index c2e0cb8..79fbeab 100644 --- a/src/interface/Settings.js +++ b/src/interface/Settings.js @@ -29,7 +29,7 @@ class Settings extends React.Component { let state; switch (fieldName) { - case 'printers': + case 'printer': case 'quality': case 'material': state = { @@ -57,7 +57,7 @@ class Settings extends React.Component {
- + {Object.entries(printers).map(([value, { title }]) => ( ))} diff --git a/src/interface/index.js b/src/interface/index.js index 288ff74..ac901c3 100644 --- a/src/interface/index.js +++ b/src/interface/index.js @@ -69,7 +69,7 @@ class Interface extends React.Component { controlMode: 'translate', isSlicing: false, sliced: false, - printers: defaultPrinter, + printer: defaultPrinter, quality: defaultQuality, material: defaultMaterial, settings: _.merge(