From 2c207fd13d78803f239e01be5c6fd6c31e5465a6 Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 22 Jan 2024 19:36:55 +0400 Subject: [PATCH] UBERF-5023: make flat view default (#4409) Signed-off-by: Kristina Fefelova --- models/notification/src/viewlets.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/notification/src/viewlets.ts b/models/notification/src/viewlets.ts index 2cedd01da3..1b76eb5d40 100644 --- a/models/notification/src/viewlets.ts +++ b/models/notification/src/viewlets.ts @@ -45,10 +45,10 @@ export function defineViewlets (builder: Builder): void { core.space.Model, { attachTo: notification.class.DocNotifyContext, - descriptor: notification.viewlet.GroupedList, + descriptor: notification.viewlet.FlatList, config: [] }, - notification.viewlet.InboxGroupedList + notification.viewlet.InboxFlatList ) builder.createDoc( @@ -56,9 +56,9 @@ export function defineViewlets (builder: Builder): void { core.space.Model, { attachTo: notification.class.DocNotifyContext, - descriptor: notification.viewlet.FlatList, + descriptor: notification.viewlet.GroupedList, config: [] }, - notification.viewlet.InboxFlatList + notification.viewlet.InboxGroupedList ) }