fix notifications rendering

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-09-11 13:49:15 +02:00
parent 84c25413d6
commit 4815b120f8
2 changed files with 9 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-notifications': patch
---
Fixed missing app context when rendering the notifications view
+4 -3
View File
@@ -23,6 +23,7 @@ import {
} from '@backstage/frontend-plugin-api';
import { rootRouteRef } from './routes';
import {
compatWrapper,
convertLegacyRouteRef,
convertLegacyRouteRefs,
} from '@backstage/core-compat-api';
@@ -33,9 +34,9 @@ const page = PageBlueprint.make({
path: '/notifications',
routeRef: convertLegacyRouteRef(rootRouteRef),
loader: () =>
import('./components/NotificationsPage').then(m => (
<m.NotificationsPage />
)),
import('./components/NotificationsPage').then(m =>
compatWrapper(<m.NotificationsPage />),
),
},
});