File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
services/web/server/src/simcore_service_webserver/projects Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1047,13 +1047,17 @@ async def patch_project_node(
10471047 if _node_patch_exclude_unset .get ("label" ):
10481048 await dynamic_scheduler_api .update_projects_networks (app , project_id = project_id )
10491049
1050- # 5. Updates project states for user, if inputs have been changed
1051- if "inputs" in _node_patch_exclude_unset :
1050+ # 5. Updates project states for user, if inputs/outputs have been changed
1051+ if { "inputs" , "outputs" } & _node_patch_exclude_unset . keys () :
10521052 updated_project = await add_project_states_for_user (
1053- user_id = user_id , project = updated_project , is_template = False , app = app
1053+ user_id = user_id , project = updated_project , is_template = False , app = app
10541054 )
1055+ for node_uuid in updated_project ["workbench" ]:
1056+ await notify_project_node_update (
1057+ app , updated_project , node_uuid , errors = None
1058+ )
1059+ return
10551060
1056- # 6. Notify project node update
10571061 await notify_project_node_update (app , updated_project , node_id , errors = None )
10581062
10591063
You can’t perform that action at this time.
0 commit comments