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

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