Skip to content

Commit

Permalink
improvement: minor empty states updates
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekshourya29 committed Dec 18, 2024
1 parent be058db commit 33b5c5d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/ce/components/issues/issue-layouts/empty-states/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./team-issues";
export * from "./team-view-issues";
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { observer } from "mobx-react";

export const TeamEmptyState: React.FC = observer(() => <></>);
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { observer } from "mobx-react";

export const TeamViewEmptyState: React.FC = observer(() => <></>);
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { EIssuesStoreType } from "@/constants/issue";
// plane web components
import { TeamEmptyState, TeamViewEmptyState } from "@/plane-web/components/issues/issue-layouts/empty-states";
// components
import { ProjectArchivedEmptyState } from "./archived-issues";
import { CycleEmptyState } from "./cycle";
Expand Down Expand Up @@ -34,6 +36,10 @@ export const IssueLayoutEmptyState = (props: Props) => {
return <ProfileViewEmptyState />;
case EIssuesStoreType.EPIC:
return <ProjectEpicsEmptyState />;
case EIssuesStoreType.TEAM:
return <TeamEmptyState />;
case EIssuesStoreType.TEAM_VIEW:
return <TeamViewEmptyState />;
default:
return null;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "ce/components/issues/issue-layouts/empty-states";

0 comments on commit 33b5c5d

Please sign in to comment.