forked from farhoodlabs/paperclip
feat: polish issue thread markdown and references
This commit is contained in:
@@ -169,6 +169,7 @@ export function applyOptimisticIssueFieldUpdate(
|
||||
assign("assigneeAgentId");
|
||||
assign("assigneeUserId");
|
||||
assign("projectId");
|
||||
assign("parentId");
|
||||
assign("projectWorkspaceId");
|
||||
assign("executionWorkspaceId");
|
||||
assign("executionWorkspacePreference");
|
||||
@@ -194,6 +195,10 @@ export function applyOptimisticIssueFieldUpdate(
|
||||
nextIssue.project = issue.project?.id === nextIssue.projectId ? issue.project : null;
|
||||
}
|
||||
|
||||
if (hasOwn("parentId")) {
|
||||
nextIssue.ancestors = undefined;
|
||||
}
|
||||
|
||||
if (hasOwn("executionWorkspaceId")) {
|
||||
nextIssue.currentExecutionWorkspace =
|
||||
issue.currentExecutionWorkspace?.id === nextIssue.executionWorkspaceId
|
||||
|
||||
Reference in New Issue
Block a user