[WEB-2382]chore:notification snooze modal (#6164)
* modified notification store * notification snooze types fix * handled promise * modified notifications layout * incresed pagination count for notifications
This commit is contained in:
parent
4499a5fa25
commit
666ddf73b6
7 changed files with 10 additions and 12 deletions
|
|
@ -62,7 +62,7 @@ export interface IWorkspaceNotificationStore {
|
|||
|
||||
export class WorkspaceNotificationStore implements IWorkspaceNotificationStore {
|
||||
// constants
|
||||
paginatedCount = 30;
|
||||
paginatedCount = 300;
|
||||
// observables
|
||||
loader: TNotificationLoader = undefined;
|
||||
unreadNotificationsCount: TUnreadNotificationsCount = {
|
||||
|
|
@ -84,7 +84,7 @@ export class WorkspaceNotificationStore implements IWorkspaceNotificationStore {
|
|||
read: false,
|
||||
};
|
||||
|
||||
constructor(private store: CoreRootStore) {
|
||||
constructor(protected store: CoreRootStore) {
|
||||
makeObservable(this, {
|
||||
// observables
|
||||
loader: observable.ref,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue