Generate SBOM button not showing properly for Unsupported Artifact
MinerYang opened this issue · comments
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
After click Genrate SBOM
button for unsupported type artifact, other supported should be able to select to Generate SBOM.
Steps to reproduce the problem:
Step1 Using notation signing a image, it will push an index image with the signature inside it.
Step2 Select index image and click Generate SBOM
, no request sent and no status showed
Step3 Select a supported image and the Generate SBOM
button would grey out and unable to click until I refresh the page
![Screenshot 2024-05-29 at 17 13 39](https://private-user-images.githubusercontent.com/44956229/334737109-d70561ab-0696-4fa5-b8d5-0b243ff704fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMjc4MjQsIm5iZiI6MTcyMjAyNzUyNCwicGF0aCI6Ii80NDk1NjIyOS8zMzQ3MzcxMDktZDcwNTYxYWItMDY5Ni00ZmE1LWI4ZDUtMGIyNDNmZjcwNGZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIwNTg0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhNWE5YzFiOTVjYTBjMWNjOWVmZDg0ZGMzOThlOGVlZDMxN2RiOTVkYWI0ZmRiYzJmNGE1ODI3NjA5MjljMjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6zKe1Wnb5HB81xdpCuWkdoQr_LrqGGXK8l3p06zdrt8)
Versions:
Please specify the versions of following systems.
- harbor version: v2.11.0-74e2d277
build on PR #20501