Skip to content

Commit

Permalink
chore: added sub tabs (temp ones) to issue page
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed May 9, 2024
1 parent 7e7b742 commit 17bd1df
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pages/workspaces/[workspaceId]/issues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import WorkspaceBanner from "components/Workspaces/WorkspaceBanner";
import { OrderIssuesBy, useGetWorkspaceIssues } from "lib/hooks/api/useGetWorkspaceIssues";
import { WorkspaceIssueTable } from "components/Workspaces/WorkspaceIssuesTable";
import { SubTabsList } from "components/TabList/tab-list";
import { SquareTabsList } from "components/shared/SquareTabs";

const InsightUpgradeModal = dynamic(() => import("components/Workspaces/InsightUpgradeModal"));

Expand Down Expand Up @@ -124,7 +123,14 @@ const WorkspaceIssuesPage = ({ workspace, isOwner, overLimit }: WorkspaceDashboa
</div>
<div className="mt-6 grid gap-6">
<div className="grid md:flex justify-between gap-2 md:gap-4">
<SquareTabsList items={["Pull Requests", "Issues"]} />
<SubTabsList
tabList={[
{ name: "Pull Requests", path: "activity" },
{ name: "Issues", path: "issues" },
]}
selectedTab={"issues"}
pageId={`/workspaces/${workspace.id}`}
/>
<div className="flex justify-end items-center gap-4">
<TrackedRepositoryFilter
options={filterOptions}
Expand Down

0 comments on commit 17bd1df

Please sign in to comment.