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
de1ea50e6d
commit
af7b194bec
@ -40,8 +40,6 @@ const ModelIdentifierFieldInputComponent = (props: Props) => {
|
|||||||
return modelConfigsAdapterSelectors.selectAll(data);
|
return modelConfigsAdapterSelectors.selectAll(data);
|
||||||
}, [data]);
|
}, [data]);
|
||||||
|
|
||||||
console.log(modelConfigs);
|
|
||||||
|
|
||||||
const { options, value, onChange, placeholder, noOptionsMessage } = useGroupedModelCombobox({
|
const { options, value, onChange, placeholder, noOptionsMessage } = useGroupedModelCombobox({
|
||||||
modelConfigs,
|
modelConfigs,
|
||||||
onChange: _onChange,
|
onChange: _onChange,
|
||||||
|
@ -128,13 +128,10 @@ export const parseSchema = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isStatefulFieldType(fieldType) && originalFieldType && !isEqual(originalFieldType, fieldType)) {
|
if (isStatefulFieldType(fieldType) && originalFieldType && !isEqual(originalFieldType, fieldType)) {
|
||||||
console.log('STATEFUL WITH ORIGINAL');
|
|
||||||
fieldType.originalType = deepClone(originalFieldType);
|
fieldType.originalType = deepClone(originalFieldType);
|
||||||
console.log(fieldType);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const fieldInputTemplate = buildFieldInputTemplate(property, propertyName, fieldType);
|
const fieldInputTemplate = buildFieldInputTemplate(property, propertyName, fieldType);
|
||||||
console.log(fieldInputTemplate);
|
|
||||||
inputsAccumulator[propertyName] = fieldInputTemplate;
|
inputsAccumulator[propertyName] = fieldInputTemplate;
|
||||||
|
|
||||||
return inputsAccumulator;
|
return inputsAccumulator;
|
||||||
@ -201,9 +198,7 @@ export const parseSchema = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isStatefulFieldType(fieldType) && originalFieldType && !isEqual(originalFieldType, fieldType)) {
|
if (isStatefulFieldType(fieldType) && originalFieldType && !isEqual(originalFieldType, fieldType)) {
|
||||||
console.log('STATEFUL WITH ORIGINAL');
|
|
||||||
fieldType.originalType = deepClone(originalFieldType);
|
fieldType.originalType = deepClone(originalFieldType);
|
||||||
console.log(fieldType);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const fieldOutputTemplate = buildFieldOutputTemplate(property, propertyName, fieldType);
|
const fieldOutputTemplate = buildFieldOutputTemplate(property, propertyName, fieldType);
|
||||||
|
Loading…
Reference in New Issue
Block a user