File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Pages/Applications/DevtronApps/Details/CDPipeline
Shared/Components/BulkOperations Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { APIOptions , CDMaterialType } from '@Common/Types'
2
2
3
3
export const getAPIOptionsWithTriggerTimeout = ( options ?: APIOptions ) : APIOptions => {
4
- const _options : APIOptions = options ? JSON . parse ( JSON . stringify ( options ) ) : { }
4
+ const _options : APIOptions = options ? structuredClone ( options ) : { }
5
5
6
6
if ( window . _env_ . TRIGGER_API_TIMEOUT ) {
7
7
_options . timeout = window . _env_ . TRIGGER_API_TIMEOUT
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ const BulkOperationsResultModal = ({
112
112
size = { ComponentSizeType . xs }
113
113
variant = { ButtonVariantType . borderLess }
114
114
ariaLabel = { `Close ${ headerText } drawer` }
115
+ showTooltip = { apiCallInProgress }
116
+ tooltipProps = { {
117
+ content :
118
+ 'Bulk action in progress. Please wait for it to complete. Leaving will disrupt the ongoing process.' ,
119
+ } }
115
120
disabled = { apiCallInProgress }
116
121
onClick = { handleModalClose }
117
122
showAriaLabelInTippy = { false }
You can’t perform that action at this time.
0 commit comments