Only filter patchset level drafts if they are not replies

User could be replying to a previously made patchset level
comment in which case we should be showing the draft in the
reply dialog.

Release-Notes: skip
Google-bug-id: b/242982372
Change-Id: Iba63b27643cf3840d9bf18f4ef726f2658a5172a
diff --git a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
index e043a77..13f9a80 100644
--- a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
+++ b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
@@ -76,6 +76,9 @@
 import {
   CommentThread,
   DraftInfo,
+  getFirstComment,
+  isDraft,
+  isPatchsetLevel,
   isUnresolved,
   UnsavedInfo,
 } from '../../../utils/comment-util';
@@ -693,7 +696,7 @@
       () => this.getCommentsModel().draftThreads$,
       threads =>
         (this.draftCommentThreads = threads.filter(
-          t => t.path !== SpecialFilePath.PATCHSET_LEVEL_COMMENTS
+          t => !(isDraft(getFirstComment(t)) && isPatchsetLevel(t))
         ))
     );
   }