Skip to content

Commit

Permalink
Fix merged button text in extend-conversation-status-filters (#3944)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakov116 committed Feb 5, 2021
1 parent a069714 commit 3d5ca5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/features/extend-conversation-status-filters.tsx
Expand Up @@ -21,13 +21,13 @@ function addMergeLink(): void {
if (lastLinkQuery.includes('is:merged')) {
// It's a "Total" link for "is:merged"
lastLink.lastChild!.textContent = lastLink.lastChild!.textContent!.replace('Total', 'Merged');
return;
continue;
}

if (lastLinkQuery.includes('is:unmerged')) {
// It's a "Total" link for "is:unmerged"
lastLink.lastChild!.textContent = lastLink.lastChild!.textContent!.replace('Total', 'Unmerged');
return;
continue;
}

// In this case, `lastLink` is expected to be a "Closed" link
Expand Down

0 comments on commit 3d5ca5a

Please sign in to comment.