mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
f92a5cbabc
commit
29ccc6a3d8
@ -46,11 +46,15 @@ const InputField = ({ nodeId, fieldName }: Props) => {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!doesFieldHaveValue && !isConnected && fieldTemplate.input !== 'connection') {
|
||||
if (
|
||||
!doesFieldHaveValue &&
|
||||
!isConnected &&
|
||||
fieldTemplate.input !== 'connection'
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false
|
||||
return false;
|
||||
}, [fieldTemplate, isConnected, doesFieldHaveValue]);
|
||||
|
||||
if (!fieldTemplate || !fieldInstance) {
|
||||
|
Loading…
Reference in New Issue
Block a user