diff --git a/src/zenml/cli/stack_components.py b/src/zenml/cli/stack_components.py index f5ea4342ca1..c43826e1460 100644 --- a/src/zenml/cli/stack_components.py +++ b/src/zenml/cli/stack_components.py @@ -142,12 +142,12 @@ def describe_stack_component_command(name_id_or_prefix: str) -> None: if active_components: active_component_id = active_components[0].id - cli_utils.print_stack_component_configuration( - component=component_, - active_status=component_.id == active_component_id, - ) + cli_utils.print_stack_component_configuration( + component=component_, + active_status=component_.id == active_component_id, + ) - print_model_url(get_component_url(active_components[0])) + print_model_url(get_component_url(component_)) return describe_stack_component_command