[WEB-4094]chore: workspace notifications refactor (#7061)
* chore: workspace notifications refactor * fix: url params * fix: added null checks to avoid run time errors * fix: notifications header color fix
This commit is contained in:
parent
1f1b421735
commit
07e937cd8e
13 changed files with 273 additions and 208 deletions
|
|
@ -1 +1,2 @@
|
|||
export * from "./notification-card/root";
|
||||
export * from "./list-root";
|
||||
|
|
|
|||
8
web/ce/components/workspace-notifications/list-root.tsx
Normal file
8
web/ce/components/workspace-notifications/list-root.tsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { NotificationCardListRoot } from "./notification-card/root";
|
||||
|
||||
export type TNotificationListRoot = {
|
||||
workspaceSlug: string;
|
||||
workspaceId: string;
|
||||
};
|
||||
|
||||
export const NotificationListRoot = (props: TNotificationListRoot) => <NotificationCardListRoot {...props} />;
|
||||
Loading…
Add table
Add a link
Reference in a new issue