Skip to content

Commit 36bc8f4

Browse files
committed
chore: version bump
1 parent 4f43f76 commit 36bc8f4

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/components/v2/appDetails/k8Resource/nodeType/PodPopup.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
: []),

src/components/v2/appDetails/sourceInfo/EnvironmentSelector.component.tsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)