Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
shanexi committed Jan 13, 2025
1 parent 7a0607c commit e36fe68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/apps/web/src/stores/app/schema-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const SchemaProvider: React.FC<SchemaProviderProps> = ({

useEffect(() => {
if (name && !widgetSchema[name] && type === NodeTypeEnum.widget) {
getWidgetSchema({ widget_name: name });
getWidgetSchema({ widget_name: name, myshell_widget_name: '' });
}
}, [name]);

Expand Down
2 changes: 1 addition & 1 deletion web/apps/web/src/stores/workflow/schema-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const SchemaProvider: React.FC<SchemaProviderProps> = ({
id !== NodeIdEnum.start &&
id !== NodeIdEnum.end
) {
getWidgetSchema({ widget_name: name });
getWidgetSchema({ widget_name: name, myshell_widget_name: '' });
}
}, [name]);

Expand Down

0 comments on commit e36fe68

Please sign in to comment.