wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

"View in the Devportal '' button is enabled for APIs that are in prototype stated and enableStore property is set to false - Publisher UI #11465

Closed YasasRangika closed 3 years ago

YasasRangika commented 3 years ago

Description:

If someone tries to initialize the test by clicking on the initialize test button, the API is transformed to prototype state and sets the enableStore property to false. This API should not be visible in the devportal. If you search the API in the devportal you can't see it there. But it seems like we still keep the view in the devportal button.

image

If the particular API is in prototype state and it's enableStore property is set to false, the "View in Devportal '' button should be disabled.

YasasRangika commented 3 years ago

Closing this issue since the issue is not reproducing in the master.