kopia lustrzana https://github.com/wagtail/wagtail
Remove completed TODO
rodzic
9e98e680e9
commit
64f1cbdfd4
client/src/components/CommentApp/state
|
@ -301,7 +301,6 @@ export const reducer = produce((draft: CommentsState, action: actions.Action) =>
|
|||
}
|
||||
case actions.INVALIDATE_CONTENT_PATH: {
|
||||
// Delete any comments that exist in the contentpath
|
||||
// TODO: Switch to resolved when we add that state back
|
||||
const comments = draft.comments;
|
||||
for (const comment of comments.values()) {
|
||||
if (comment.contentpath.startsWith(action.contentPath)) {
|
||||
|
|
Ładowanie…
Reference in New Issue