mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
fix(core): should be able to unresolve a resolved comment (#13078)
#### PR Dependency Tree * **PR #13078** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * The resolve comment button is now always visible to users with permission to resolve comments, regardless of the comment's current status. * **Refactor** * Adjusted internal comment resolution logic to streamline how missing comments are handled between the provider and the editor. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -362,7 +362,7 @@ const CommentItem = ({
|
||||
data-menu-open={menuOpen}
|
||||
data-editing={isEditing}
|
||||
>
|
||||
{!comment.resolved && canResolveComment && (
|
||||
{canResolveComment && (
|
||||
<IconButton
|
||||
variant="solid"
|
||||
onClick={handleResolve}
|
||||
|
||||
Reference in New Issue
Block a user