Skip to content

Commit

Permalink
Fix Resolve Conversation not working in Conversation view (#24191)
Browse files Browse the repository at this point in the history
It only worked in the Files Changed view.

Caused by #23639.
  • Loading branch information
brechtvl committed Apr 19, 2023
1 parent fcad9fd commit 738f2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/features/repo-diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ function initRepoDiffShowMore() {
}

export function initRepoDiffView() {
initRepoDiffConversationForm();
const diffFileList = $('#diff-file-list');
if (diffFileList.length === 0) return;
initDiffFileTree();
initRepoDiffShowMore();
initRepoDiffReviewButton();
initRepoDiffFileViewToggle();
initRepoDiffConversationForm();
initViewedCheckboxListenerFor();
initExpandAndCollapseFilesButton();
}

0 comments on commit 738f2af

Please sign in to comment.