Skip to content

Commit bd4b724

Browse files
pattonwebzclaude
andcommitted
PRO-960: Batch undismiss when issue was globally dismissed
largeBatch is now sent on undismiss when the issue is globally dismissed, so removing a global dismissal clears all matching instances — not just the single row that was clicked. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 077df81 commit bd4b724

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/issueModal/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const toggleIssueDismiss = async ( issueId, ignore = true, reason = '', c
2323
reason: ignore ? reason : '',
2424
comment: ignore ? comment : '',
2525
ignore_global: ignore && ignoreGlobal ? 1 : 0,
26-
largeBatch: ignore && ignoreGlobal,
26+
largeBatch: ignoreGlobal,
2727
},
2828
} );
2929
};

src/issueModal/components/DismissPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const DismissPanel = ( { issue, isOpen, onToggle, onIgnore, onCloseModal, forceG
4141
setSuccessNotice( null );
4242

4343
try {
44-
const response = await toggleIssueDismiss( issue.id, ignore, ignore ? dismissReason : '', ignore ? comment : '', ignore && isGlobal );
44+
const response = await toggleIssueDismiss( issue.id, ignore, ignore ? dismissReason : '', ignore ? comment : '', ignore ? isGlobal : isGloballyDismissed );
4545
setIsIgnored( ignore );
4646
setSuccessNotice(
4747
ignore

0 commit comments

Comments
 (0)