1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

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