]> source.dussan.org Git - gitea.git/commitdiff
Fix Resolve Conversation not working in Conversation view (#24191)
authorBrecht Van Lommel <brecht@blender.org>
Wed, 19 Apr 2023 17:05:25 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2023 17:05:25 +0000 (13:05 -0400)
It only worked in the Files Changed view.

Caused by #23639.

web_src/js/features/repo-diff.js

index 9be4bc8d0f69b184f1f98367b47f4957bb590139..5a9f5ba0a2da86e62d875cbb35f028c421a90060 100644 (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();
 }