forked from github/plane
chore: inbox issue detail activity and comment initial load improvement (#3819)
This commit is contained in:
parent
1f5d54260a
commit
fece947eb5
@ -30,6 +30,8 @@ export const InboxIssueDetailRoot: FC<TInboxIssueDetailRoot> = (props) => {
|
|||||||
} = useInboxIssues();
|
} = useInboxIssues();
|
||||||
const {
|
const {
|
||||||
issue: { getIssueById },
|
issue: { getIssueById },
|
||||||
|
fetchActivities,
|
||||||
|
fetchComments,
|
||||||
} = useIssueDetail();
|
} = useIssueDetail();
|
||||||
const { captureIssueEvent } = useEventTracker();
|
const { captureIssueEvent } = useEventTracker();
|
||||||
const { setToastAlert } = useToast();
|
const { setToastAlert } = useToast();
|
||||||
@ -125,6 +127,8 @@ export const InboxIssueDetailRoot: FC<TInboxIssueDetailRoot> = (props) => {
|
|||||||
async () => {
|
async () => {
|
||||||
if (workspaceSlug && projectId && inboxId && issueId) {
|
if (workspaceSlug && projectId && inboxId && issueId) {
|
||||||
await issueOperations.fetch(workspaceSlug, projectId, issueId);
|
await issueOperations.fetch(workspaceSlug, projectId, issueId);
|
||||||
|
await fetchActivities(workspaceSlug, projectId, issueId);
|
||||||
|
await fetchComments(workspaceSlug, projectId, issueId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user