catalog-react: enable entity cards and content by default in new system

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-08-05 16:38:55 +02:00
parent 604a504328
commit 012e3ebf71
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Entity page extensions created for the new frontend system via the `/alpha` exports will now be enabled by default.
+2 -2
View File
@@ -83,7 +83,7 @@ export function createEntityCardExtension<
id: 'entity-content:catalog/overview',
input: 'cards',
},
disabled: options.disabled ?? true,
disabled: options.disabled,
output: {
element: coreExtensionData.reactElement,
filterFunction: catalogExtensionData.entityFilterFunction.optional(),
@@ -137,7 +137,7 @@ export function createEntityContentExtension<
id: 'page:catalog/entity',
input: 'contents',
},
disabled: options.disabled ?? true,
disabled: options.disabled,
output: {
element: coreExtensionData.reactElement,
path: coreExtensionData.routePath,