File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/features/instance/applications/modals Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ export function RedeployApplicationModal() {
4545 if ( ! openedEntry ) {
4646 return ;
4747 }
48- const originalPackageUrl = openedEntry . package ;
48+ setWatchedValue ( 'ShowRedeployApplicationModal' , false ) ;
49+
4950 const toastId = toast . loading ( 'Redeploying...' ) ;
5051 reDeployApplication ( {
5152 applicationName : openedEntry . project ,
@@ -64,10 +65,8 @@ export function RedeployApplicationModal() {
6465 queryKey : [ instanceParams . entityId , 'get_components' ] ,
6566 refetchType : 'active' ,
6667 } ) ;
67- setWatchedValue ( 'ShowRedeployApplicationModal' , false ) ;
6868 } ,
6969 onError : ( ) => {
70- openedEntry . package = originalPackageUrl ;
7170 toast . dismiss ( toastId ) ;
7271 } ,
7372 } ) ;
You can’t perform that action at this time.
0 commit comments