mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: inbox issue attachment added (#4190)
This commit is contained in:
parent
c670a31836
commit
f4c528f535
@ -11,6 +11,7 @@ import {
|
||||
IssueActivity,
|
||||
IssueReaction,
|
||||
TIssueOperations,
|
||||
IssueAttachmentRoot,
|
||||
} from "@/components/issues";
|
||||
// hooks
|
||||
import { useEventTracker, useProjectInbox, useUser } from "@/hooks/store";
|
||||
@ -153,6 +154,12 @@ export const InboxIssueMainContent: React.FC<Props> = observer((props) => {
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<IssueAttachmentRoot
|
||||
workspaceSlug={workspaceSlug}
|
||||
projectId={projectId}
|
||||
issueId={issue.id}
|
||||
disabled={!isEditable}
|
||||
/>
|
||||
|
||||
<InboxIssueContentProperties
|
||||
workspaceSlug={workspaceSlug}
|
||||
|
@ -363,6 +363,8 @@ export class ProjectInboxStore implements IProjectInboxStore {
|
||||
await this.store.issue.issueDetail.fetchActivities(workspaceSlug, projectId, issueId);
|
||||
// fetching comments
|
||||
await this.store.issue.issueDetail.fetchComments(workspaceSlug, projectId, issueId);
|
||||
// fetching attachments
|
||||
await this.store.issue.issueDetail.fetchAttachments(workspaceSlug, projectId, issueId);
|
||||
}
|
||||
return inboxIssue;
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user