Skip to content

Commit f8c62cb

Browse files
authored
Merge pull request #7533 from opsmill/pog-need-upgrade-rebase
Add option to display upgrade rebase requirement
2 parents 8b20fef + 83220f8 commit f8c62cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/app/src/entities/branches/ui/branch-list-item/branch-status-badge.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ export function BranchStatusBadge({ status, className, ...props }: BranchStatusB
2222
</Badge>
2323
);
2424
}
25+
case "NEED_UPGRADE_REBASE": {
26+
return (
27+
<Badge className={classNames(pillStyle, className)} variant="yellow" {...props}>
28+
<AlertTriangleIcon className="size-3" /> Rebase needed (upgrade)
29+
</Badge>
30+
);
31+
}
2532
case "DELETING": {
2633
return (
2734
<Badge className={classNames(pillStyle, className)} variant="red" {...props}>

0 commit comments

Comments
 (0)