From b379e3d187cd20ed23f9b5b3507d940ec7f62ad3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 27 Nov 2023 14:44:58 +1100 Subject: [PATCH] fix(ui): fix capitalization --- invokeai/frontend/web/src/features/nodes/types/metadata.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invokeai/frontend/web/src/features/nodes/types/metadata.ts b/invokeai/frontend/web/src/features/nodes/types/metadata.ts index a22b8aed0e..7f24787485 100644 --- a/invokeai/frontend/web/src/features/nodes/types/metadata.ts +++ b/invokeai/frontend/web/src/features/nodes/types/metadata.ts @@ -22,7 +22,7 @@ const zControlNetMetadataItem = zControlField.deepPartial(); const zIPAdapterMetadataItem = zIPAdapterField.deepPartial(); const zT2IAdapterMetadataItem = zT2IAdapterField.deepPartial(); const zSDXLRefinerModelMetadataItem = zSDXLRefinerModelField.deepPartial(); -const zModelMetadataitem = z.union([ +const zModelMetadataItem = z.union([ zMainModelField.deepPartial(), zONNXModelField.deepPartial(), ]); @@ -34,7 +34,7 @@ export type T2IAdapterMetadataItem = z.infer; export type SDXLRefinerModelMetadataItem = z.infer< typeof zSDXLRefinerModelMetadataItem >; -export type ModelMetadataitem = z.infer; +export type ModelMetadataItem = z.infer; export type VAEModelMetadataItem = z.infer; // #endregion @@ -54,7 +54,7 @@ export const zCoreMetadata = z steps: z.number().int().nullish().catch(null), scheduler: z.string().nullish().catch(null), clip_skip: z.number().int().nullish().catch(null), - model: zModelMetadataitem.nullish().catch(null), + model: zModelMetadataItem.nullish().catch(null), controlnets: z.array(zControlNetMetadataItem).nullish().catch(null), ipAdapters: z.array(zIPAdapterMetadataItem).nullish().catch(null), t2iAdapters: z.array(zT2IAdapterMetadataItem).nullish().catch(null),