Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WIKI-399] fix: add favorite action to page header #7144

Aaryan Khandelwal323920a3588d
diff --git a/web/core/components/pages/header/actions.tsx b/web/core/components/pages/header/actions.tsx
index c9e3843704..3c73d42efd 100644
--- a/web/core/components/pages/header/actions.tsx
+++ b/web/core/components/pages/header/actions.tsx
@@ -13,6 +13,7 @@ import { TPageInstance } from "@/store/pages/base-page";
// local imports
import { PageArchivedBadge } from "./archived-badge";
import { PageCopyLinkControl } from "./copy-link-control";
+import { PageFavoriteControl } from "./favorite-control";
import { PageOfflineBadge } from "./offline-badge";
type Props = {
@@ -31,6 +32,7 @@ export const PageHeaderActions: React.FC<Props> = observer((props) => {
<PageMoveControl page={page} />
<PageInfoPopover page={page} />
<PageCopyLinkControl page={page} />
+ <PageFavoriteControl page={page} />
<PageOptionsDropdown page={page} storeType={storeType} />
</div>
);