Fix Resolve Conversation not working in Conversation view (#24191)

It only worked in the Files Changed view.

Caused by #23639.
This commit is contained in:
Brecht Van Lommel 2023-04-19 19:05:25 +02:00 committed by GitHub
parent fcad9fd19f
commit 738f2af527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}