fix notifications rendering
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
Fixed missing app context when rendering the notifications view
|
||||
@@ -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 />),
|
||||
),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user