mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
20b0edeaa6
* chore: snoozed filter in the issue inbox filter * chore: navigating to the next or previous issue when we accept, decline, or duplicate the issue in inbox * chore: Implemented state, label, assignee and target_date in the inbox issue description and Implemented issue edit confirmation once we click accept the inbox issue * chore: removed logs * chore: inbox issue create response * chore: update inbox issue response * chore: updated inbox issue accept workflow and added issue properties in inbox issue create modal * chore: resolved build errors and upgraded lucide react * chore: updated inbox issue store hook * chore: code cleanup and removed validation for inbox description * fix: renamed the variable isLoading to loader in project-inbox store * fix: updated set function for issue property update --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
11 lines
463 B
TypeScript
11 lines
463 B
TypeScript
import { useContext } from "react";
|
|
// mobx store
|
|
import { StoreContext } from "contexts/store-context";
|
|
import { IInboxIssueStore } from "@/store/inbox/inbox-issue.store";
|
|
|
|
export const useInboxIssues = (inboxIssueId: string): IInboxIssueStore => {
|
|
const context = useContext(StoreContext);
|
|
if (context === undefined) throw new Error("useInboxIssues must be used within StoreProvider");
|
|
return context.projectInbox.getIssueInboxByIssueId(inboxIssueId);
|
|
};
|