Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "Fix incorrect accept and reject buttons shows up while hovering over the generated file"
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ export class Connector {

private processCodeResultMessage = async (messageData: any): Promise<void> => {
if (this.onChatAnswerReceived !== undefined) {
const actions = getActions([...messageData.filePaths, ...messageData.deletedFiles])
const answer: ChatItem = {
type: ChatItemType.ANSWER,
relatedContent: undefined,
Expand All @@ -209,8 +208,7 @@ export class Connector {
fileTreeTitle: 'Documents ready',
rootFolderTitle: 'Generated documentation',
filePaths: (messageData.filePaths as DiffTreeFileInfo[]).map(path => path.zipFilePath),
deletedFiles: (messageData.deletedFiles as DiffTreeFileInfo[]).map(path => path.zipFilePath),
actions,
deletedFiles: (messageData.deletedFiles as DiffTreeFileInfo[]).map(path => path.zipFilePath)
},
body: '',
}
Expand Down
Loading