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:
@@ -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.
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user