display the module name next to the ctrlnet unit number
parent
8ef37aea72
commit
4c4e6d00b7
|
|
@ -362,7 +362,10 @@ export default class ControlNetUnit extends React.Component<
|
||||||
].enabled
|
].enabled
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
ControlNet Unit {this.props.index}
|
ControlNet Unit {this.props.index}{' '}
|
||||||
|
{storeData.module && storeData.module !== 'none'
|
||||||
|
? `(${storeData.module})`
|
||||||
|
: void 0}
|
||||||
</SpCheckBox>
|
</SpCheckBox>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ display: storeData.enabled ? 'block' : 'none' }}>
|
<div style={{ display: storeData.enabled ? 'block' : 'none' }}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue