File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
Components/AnimatedDeployButton Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,6 @@ export const processCDMaterialServiceResponse = (
320320 ...processCDMaterialsMetaInfo ( cdMaterialsResult ) ,
321321 ...processCDMaterialsApprovalInfo ( false , cdMaterialsResult ) ,
322322 ...processImagePromotionInfo ( cdMaterialsResult ) ,
323- isExceptionUser : false ,
324323 }
325324 }
326325
@@ -349,7 +348,6 @@ export const processCDMaterialServiceResponse = (
349348 ...approvalInfo ,
350349 ...metaInfo ,
351350 ...imagePromotionInfo ,
352- isExceptionUser : cdMaterialsResult . userApprovalConfig ?. isExceptionUser ?? false ,
353351 }
354352}
355353
Original file line number Diff line number Diff line change @@ -785,7 +785,6 @@ export interface CDMaterialResponseType
785785 CDMaterialsApprovalInfo ,
786786 ImagePromotionMaterialInfo {
787787 materials : CDMaterialType [ ]
788- isExceptionUser : boolean
789788}
790789
791790export interface InputDetailType {
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ const AnimatedDeployButton = ({
100100 }
101101 size = { ComponentSizeType . large }
102102 onClick = { handleButtonClick }
103- style = { isExceptionUser && ! isBulkCDTrigger ? ButtonStyleType . warning : ButtonStyleType . default }
103+ style = { isExceptionUser ? ButtonStyleType . warning : ButtonStyleType . default }
104104 showTooltip = { isExceptionUser }
105105 tooltipProps = { {
106106 content : isBulkCDTrigger
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ export interface WorkflowType {
299299 appId ?: number
300300 isSelected ?: boolean
301301 isExceptionUser ?: boolean
302+ canApproverDeploy ?: boolean
302303 approvalConfiguredIdsMap ?: Record < number , ApprovalConfigDataType >
303304 imageReleaseTags : string [ ]
304305 appReleaseTags ?: string [ ]
You can’t perform that action at this time.
0 commit comments