Skip to content

Commit 0a1c5be

Browse files
fix(ui): do not assign empty string to version if undefined
this causes zod to fail when building workflows
1 parent 9c290f4 commit 0a1c5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/nodes/util/parseSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const parseSchema = (
7373
const title = schema.title.replace('Invocation', '');
7474
const tags = schema.tags ?? [];
7575
const description = schema.description ?? '';
76-
const version = schema.version ?? '';
76+
const version = schema.version;
7777

7878
const inputs = reduce(
7979
schema.properties,

0 commit comments

Comments
 (0)