Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

fix(flows): New route button should use supportsMultipleFlows property #2064

Merged
merged 1 commit into from
Jun 29, 2023
Merged

fix(flows): New route button should use supportsMultipleFlows property #2064

merged 1 commit into from
Jun 29, 2023

Commits on Jun 29, 2023

  1. fix(flows): New route button should use supportsMultipleFlows property

    Currently, there's a `supportsMultipleFlows` property from the capabilities
    endpoint from the backend that the UI is not leveraging yet.
    
    This property is meant to signal the UI whether a DSL supports multiple
    flows or not.
    
    This pull request makes use of the said property to disable the
    New route button in case the UI is dealing with those kinds of DSL.
    
    At the moment of writing this code, those DSLs are `Kamelet` and `KameletBindings`
    
    fixes: #2055
    lordrip committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    6cfc05d View commit details
    Browse the repository at this point in the history