Skip to content

Commit

Permalink
UBERF-5023: make flat view default (#4409)
Browse files Browse the repository at this point in the history
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
  • Loading branch information
kristina-fefelova authored Jan 22, 2024
1 parent 581cb35 commit 2c207fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions models/notification/src/viewlets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ 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(
view.class.Viewlet,
core.space.Model,
{
attachTo: notification.class.DocNotifyContext,
descriptor: notification.viewlet.FlatList,
descriptor: notification.viewlet.GroupedList,
config: []
},
notification.viewlet.InboxFlatList
notification.viewlet.InboxGroupedList
)
}

0 comments on commit 2c207fd

Please sign in to comment.