Merge pull request #1477 from makeplane/sync/11308135099

sync: community changes
This commit is contained in:
pushya22
2024-10-13 01:10:56 +05:30
committed by GitHub

View File

@@ -120,7 +120,7 @@ export const InboxIssueCreateRoot: FC<TInboxIssueCreateRoot> = observer((props)
await createInboxIssue(workspaceSlug, projectId, payload)
.then(async (res) => {
if (uploadedAssetIds.length > 0) {
await fileService.updateBulkProjectAssetsUploadStatus(workspaceSlug, projectId, res?.id ?? "", {
await fileService.updateBulkProjectAssetsUploadStatus(workspaceSlug, projectId, res?.issue.id ?? "", {
asset_ids: uploadedAssetIds,
});
setUploadedAssetIds([]);