mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
rename var
This commit is contained in:
parent
aa339fda3a
commit
3221278853
@ -29,7 +29,7 @@ class Settings extends React.Component {
|
|||||||
|
|
||||||
let state;
|
let state;
|
||||||
switch (fieldName) {
|
switch (fieldName) {
|
||||||
case 'printers':
|
case 'printer':
|
||||||
case 'quality':
|
case 'quality':
|
||||||
case 'material':
|
case 'material':
|
||||||
state = {
|
state = {
|
||||||
@ -57,7 +57,7 @@ class Settings extends React.Component {
|
|||||||
<Tabs>
|
<Tabs>
|
||||||
<Tab label="basic">
|
<Tab label="basic">
|
||||||
<div>
|
<div>
|
||||||
<SelectField name="printers" floatingLabelText="Printer" fullWidth>
|
<SelectField name="printer" floatingLabelText="Printer" fullWidth>
|
||||||
{Object.entries(printers).map(([value, { title }]) => (
|
{Object.entries(printers).map(([value, { title }]) => (
|
||||||
<MenuItem key={value} value={value} primaryText={title} />
|
<MenuItem key={value} value={value} primaryText={title} />
|
||||||
))}
|
))}
|
||||||
|
@ -69,7 +69,7 @@ class Interface extends React.Component {
|
|||||||
controlMode: 'translate',
|
controlMode: 'translate',
|
||||||
isSlicing: false,
|
isSlicing: false,
|
||||||
sliced: false,
|
sliced: false,
|
||||||
printers: defaultPrinter,
|
printer: defaultPrinter,
|
||||||
quality: defaultQuality,
|
quality: defaultQuality,
|
||||||
material: defaultMaterial,
|
material: defaultMaterial,
|
||||||
settings: _.merge(
|
settings: _.merge(
|
||||||
|
Loading…
Reference in New Issue
Block a user