Declare notification View surfaces
This commit is contained in:
@@ -12,6 +12,7 @@ const notificationSettingsSections: SettingsSectionsUiCapability = {
|
||||
sections: [
|
||||
{
|
||||
id: "notifications",
|
||||
surfaceId: "notifications.settings.preferences",
|
||||
label: "Notifications",
|
||||
group: "ui",
|
||||
order: 40,
|
||||
@@ -28,6 +29,15 @@ export const notificationsModule: PlatformWebModule = {
|
||||
dependencies: [],
|
||||
optionalDependencies: ["mail", "tasks", "portal", "workflow", "calendar", "scheduling"],
|
||||
translations: generatedTranslations,
|
||||
viewSurfaces: [
|
||||
{
|
||||
id: "notifications.settings.preferences",
|
||||
moduleId: "notifications",
|
||||
kind: "section",
|
||||
label: "Notification preferences",
|
||||
order: 40
|
||||
}
|
||||
],
|
||||
routes: [
|
||||
{ path: "/notifications", anyOf: notificationRead, order: 59, render: ({ settings, auth }) => createElement(NotificationCenterPage, { settings, auth }) }
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user