frontend-plugin-api: do not default page icon and title to plugin values

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-17 11:21:39 +01:00
parent 92d77a98ff
commit 1f4e283bcb
2 changed files with 2 additions and 7 deletions
@@ -274,7 +274,6 @@ describe('PageBlueprint', () => {
"core.reactElement",
"core.routing.path",
"core.routing.ref",
"core.title",
],
}
`);
@@ -84,12 +84,8 @@ export const PageBlueprint = createExtensionBlueprint({
},
{ config, node, inputs },
) {
const title =
config.title ??
params.title ??
node.spec.plugin.title ??
node.spec.plugin.pluginId;
const icon = params.icon ?? node.spec.plugin.icon;
const title = config.title ?? params.title;
const icon = params.icon;
const pluginId = node.spec.plugin.pluginId;
const noHeader = params.noHeader ?? false;