π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-4781] fix: add peek view get to store #7654
Vamsi Krishna3602ff693064
diff --git a/apps/web/core/store/issue/issue-details/root.store.ts b/apps/web/core/store/issue/issue-details/root.store.tsindex 03b9f656d3..1455dff91a 100644--- a/apps/web/core/store/issue/issue-details/root.store.ts+++ b/apps/web/core/store/issue/issue-details/root.store.ts@@ -95,6 +95,7 @@ export interface IIssueDetailattachmentDeleteModalId: string | null;// computedisAnyModalOpen: boolean;+ isPeekOpen: boolean;// helper actionsgetIsIssuePeeked: (issueId: string) => boolean;// actions@@ -188,6 +189,7 @@ export abstract class IssueDetail implements IIssueDetail {lastWidgetAction: observable.ref,// computedisAnyModalOpen: computed,+ isPeekOpen: computed,// actionsetPeekIssue: action,setIssueLinkData: action,@@ -235,6 +237,10 @@ export abstract class IssueDetail implements IIssueDetail {);}+ get isPeekOpen() {+ return !!this.peekIssue;+ }+// helper actionsgetIsIssuePeeked = (issueId: string) => this.peekIssue?.issueId === issueId;