fix: web notifications to show in foreground + duplicates prevented
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
@@ -20,9 +20,11 @@ import {
|
||||
notificationsPlugin,
|
||||
NotificationsSidebarItem,
|
||||
} from '../src';
|
||||
import { signalsPlugin } from '@backstage/plugin-signals';
|
||||
|
||||
createDevApp()
|
||||
.registerPlugin(notificationsPlugin)
|
||||
.registerPlugin(signalsPlugin)
|
||||
.addPage({
|
||||
element: (
|
||||
<NotificationsPage
|
||||
@@ -32,5 +34,5 @@ createDevApp()
|
||||
),
|
||||
path: '/notifications',
|
||||
})
|
||||
.addSidebarItem(<NotificationsSidebarItem />)
|
||||
.addSidebarItem(<NotificationsSidebarItem webNotificationsEnabled />)
|
||||
.render();
|
||||
|
||||
Reference in New Issue
Block a user