File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed
src/components/v2/appDetails Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ const PodPopup = ({
9090 {
9191 id : NodeActionMenuOptionsIdEnum . CHECK_VULNERABILITY ,
9292 label : 'Check vulnerabilities' ,
93- // startIcon: { name: 'ic-bug' },
9493 } ,
9594 ]
9695 : [ ] ) ,
Original file line number Diff line number Diff line change @@ -124,19 +124,6 @@ const EnvironmentSelectorComponent = ({
124124 setShowDeleteConfirmation ( true )
125125 }
126126
127- const Popup = ( ) => {
128- return (
129- < div className = "pod-info__popup-container" >
130- < span
131- className = "flex pod-info__popup-row pod-info__popup-row--red cr-5"
132- onClick = { showDeleteConfirmationPopup }
133- >
134- < span data-testid = "delete-helm-app-button" > Delete application</ span >
135- < Trash className = "icon-dim-20 scr-5" />
136- </ span >
137- </ div >
138- )
139- }
140127 const setForceDeleteDialogData = ( serverError ) => {
141128 if ( serverError instanceof ServerErrors && Array . isArray ( serverError . errors ) ) {
142129 serverError . errors . map ( ( { userMessage, internalMessage } ) => {
@@ -230,7 +217,7 @@ const EnvironmentSelectorComponent = ({
230217
231218 const handleActionMenuClick : ActionMenuProps [ 'onClick' ] = ( item ) => {
232219 if ( item . id === ClusterActionMenuOptionIdEnum . DELETE ) {
233- handleDelete ( )
220+ showDeleteConfirmationPopup ( )
234221 }
235222 }
236223
You can’t perform that action at this time.
0 commit comments