Bazaar: Added 'isBazaarAvailable' helper

The EntityBazaarInfoCard shows the bazaar data for components that
have a bazaar item linked. The isBazaarAvailable helper makes it
possible to only include the EntityBazaarInfoCard for components
that actually have a bazaar project linked.

Closes #15013

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
This commit is contained in:
Niklas Aronsson
2022-12-30 11:55:08 +01:00
parent 7f4abd5f1c
commit 41d0b0a24a
5 changed files with 45 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-bazaar': patch
---
Added `isBazaarAvailable` helper to be used with the `EntitySwitch`.