File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/code-space-mfe/src/components/deployedAppConfigModal Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,6 @@ const DeployedAppConfigModal = (props) => {
356
356
Notification . show ( `Oidc plugin updated successfully` ) ;
357
357
setPluginEnabled ( ! pluginEnabled ) ;
358
358
if ( enableAuthorizer ) {
359
- ProgressIndicator . show ( ) ;
360
359
CodeSpaceApiClient . updatePluginStatus (
361
360
props ?. workspaceId ,
362
361
props ?. isStaging ? 'int' : 'prod' ,
@@ -373,10 +372,8 @@ const DeployedAppConfigModal = (props) => {
373
372
) ;
374
373
// Notification.show('Error in updating api authoriser plugin', 'alert');
375
374
}
376
- ProgressIndicator . hide ( ) ;
377
375
} )
378
376
. catch ( ( err ) => {
379
- ProgressIndicator . hide ( ) ;
380
377
Notification . show (
381
378
'Error in updating api authoriser plugin. Please try again later.\n' +
382
379
err ?. response ?. data ?. errors [ 0 ] ?. message ,
@@ -392,16 +389,17 @@ const DeployedAppConfigModal = (props) => {
392
389
) ;
393
390
// Notification.show('Error in updating OIDC plugin', 'alert');
394
391
}
395
- ProgressIndicator . hide ( ) ;
396
392
} )
397
393
. catch ( ( err ) => {
398
- ProgressIndicator . hide ( ) ;
399
394
Notification . show (
400
395
'Error in updating oidc plugin. Please try again later.\n' +
401
396
err ?. response ?. data ?. errors [ 0 ] ?. message ,
402
397
'alert' ,
403
398
) ;
404
399
// Notification.show('Error in updating OIDC Plugin. Please try again later.', 'alert');
400
+ } )
401
+ . finally ( ( ) => {
402
+ ProgressIndicator . hide ( ) ;
405
403
} ) ;
406
404
} ;
407
405
You can’t perform that action at this time.
0 commit comments