mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
feat: release plan cr conflict (#10831)
This commit is contained in:
parent
ca4ec203c6
commit
f37fde2a27
@ -35,7 +35,8 @@ const DeleteReleasePlan: FC<{
|
||||
actions?: ReactNode;
|
||||
}> = ({ change, currentReleasePlan, changeRequestState, actions }) => {
|
||||
const releasePlan =
|
||||
changeRequestState === 'Applied' && change.payload.snapshot
|
||||
(changeRequestState === 'Applied' || !currentReleasePlan) &&
|
||||
change.payload.snapshot
|
||||
? change.payload.snapshot
|
||||
: currentReleasePlan;
|
||||
|
||||
@ -62,7 +63,8 @@ const StartMilestone: FC<{
|
||||
actions?: ReactNode;
|
||||
}> = ({ change, currentReleasePlan, changeRequestState, actions }) => {
|
||||
const releasePlan =
|
||||
changeRequestState === 'Applied' && change.payload.snapshot
|
||||
(changeRequestState === 'Applied' || !currentReleasePlan) &&
|
||||
change.payload.snapshot
|
||||
? change.payload.snapshot
|
||||
: currentReleasePlan;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user