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 = (
320
320
...processCDMaterialsMetaInfo ( cdMaterialsResult ) ,
321
321
...processCDMaterialsApprovalInfo ( false , cdMaterialsResult ) ,
322
322
...processImagePromotionInfo ( cdMaterialsResult ) ,
323
- isExceptionUser : false ,
324
323
}
325
324
}
326
325
@@ -349,7 +348,6 @@ export const processCDMaterialServiceResponse = (
349
348
...approvalInfo ,
350
349
...metaInfo ,
351
350
...imagePromotionInfo ,
352
- isExceptionUser : cdMaterialsResult . userApprovalConfig ?. isExceptionUser ?? false ,
353
351
}
354
352
}
355
353
Original file line number Diff line number Diff line change @@ -785,7 +785,6 @@ export interface CDMaterialResponseType
785
785
CDMaterialsApprovalInfo ,
786
786
ImagePromotionMaterialInfo {
787
787
materials : CDMaterialType [ ]
788
- isExceptionUser : boolean
789
788
}
790
789
791
790
export interface InputDetailType {
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ const AnimatedDeployButton = ({
100
100
}
101
101
size = { ComponentSizeType . large }
102
102
onClick = { handleButtonClick }
103
- style = { isExceptionUser && ! isBulkCDTrigger ? ButtonStyleType . warning : ButtonStyleType . default }
103
+ style = { isExceptionUser ? ButtonStyleType . warning : ButtonStyleType . default }
104
104
showTooltip = { isExceptionUser }
105
105
tooltipProps = { {
106
106
content : isBulkCDTrigger
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ export interface WorkflowType {
299
299
appId ?: number
300
300
isSelected ?: boolean
301
301
isExceptionUser ?: boolean
302
+ canApproverDeploy ?: boolean
302
303
approvalConfiguredIdsMap ?: Record < number , ApprovalConfigDataType >
303
304
imageReleaseTags : string [ ]
304
305
appReleaseTags ?: string [ ]
You can’t perform that action at this time.
0 commit comments