Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 8234506

Browse files
authored
fix(gui): done filter not matching element if element had removed autogenerated annotations (#820)
fix(gui): done filter not matching element if it had removed autogenerated annotations
1 parent b8c3e38 commit 8234506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-editor/gui/src/features/filter/model/DoneFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class DoneFilter extends AbstractPythonFilter {
3939
return (
4040
pythonDeclaration.id in annotations.completes &&
4141
this.getAnnotationsForTarget(pythonDeclaration.id, annotations).every(
42-
(annotation) => (annotation.reviewers?.length ?? 0) > 0,
42+
(annotation) => annotation.isRemoved || (annotation.reviewers?.length ?? 0) > 0,
4343
)
4444
);
4545
}

0 commit comments

Comments
 (0)