diff --git a/web/app/[workspaceSlug]/(projects)/notifications/layout.tsx b/web/app/[workspaceSlug]/(projects)/notifications/layout.tsx
index b69da040a07..7d71948d838 100644
--- a/web/app/[workspaceSlug]/(projects)/notifications/layout.tsx
+++ b/web/app/[workspaceSlug]/(projects)/notifications/layout.tsx
@@ -1,12 +1,12 @@
"use client";
// components
-import { NotificationsSidebar } from "@/plane-web/components/workspace-notifications";
+import { NotificationsSidebarRoot } from "@/plane-web/components/workspace-notifications";
export default function ProjectInboxIssuesLayout({ children }: { children: React.ReactNode }) {
return (
handleTabClick(tab.value)}
+ onClick={() => handleTabClick(tab.value)}
>
void;
- onSubmit: (dateTime?: Date | undefined) => Promise;
+ onSubmit: (dateTime?: Date | undefined) => Promise;
};
type FormValues = {
diff --git a/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx b/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx
index 003175500c8..86e22049cc1 100644
--- a/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx
+++ b/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx
@@ -34,25 +34,23 @@ export const NotificationItemSnoozeOption: FC = o
const handleNotificationSnoozeDate = async (snoozeTill: Date | undefined) => {
if (snoozeTill) {
try {
- const response = await snoozeNotification(workspaceSlug, snoozeTill);
+ await snoozeNotification(workspaceSlug, snoozeTill);
setToast({
title: "Success!",
message: "Notification snoozed successfully",
type: TOAST_TYPE.SUCCESS,
});
- return response;
} catch (e) {
console.error(e);
}
} else {
try {
- const response = await unSnoozeNotification(workspaceSlug);
+ await unSnoozeNotification(workspaceSlug);
setToast({
title: "Success!",
message: "Notification un snoozed successfully",
type: TOAST_TYPE.SUCCESS,
});
- return response;
} catch (e) {
console.error(e);
}
diff --git a/web/core/store/notifications/workspace-notifications.store.ts b/web/core/store/notifications/workspace-notifications.store.ts
index 59f0dbc0332..b3ba8820353 100644
--- a/web/core/store/notifications/workspace-notifications.store.ts
+++ b/web/core/store/notifications/workspace-notifications.store.ts
@@ -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,
diff --git a/web/ee/components/workspace-notifications/index.ts b/web/ee/components/workspace-notifications/index.ts
new file mode 100644
index 00000000000..fb22da3e811
--- /dev/null
+++ b/web/ee/components/workspace-notifications/index.ts
@@ -0,0 +1 @@
+export * from "ce/components/workspace-notifications";
diff --git a/web/ee/components/workspace-notifications/root.tsx b/web/ee/components/workspace-notifications/root.tsx
deleted file mode 100644
index d4a704bd2a0..00000000000
--- a/web/ee/components/workspace-notifications/root.tsx
+++ /dev/null
@@ -1 +0,0 @@
-export {NotificationsSidebar} from 'ce/components/workspace-notifications'
\ No newline at end of file