Skip to content

Commit

Permalink
fix delete VM cannot dismiss
Browse files Browse the repository at this point in the history
Signed-off-by: andy.lee <[email protected]>
(cherry picked from commit 53dddd0)
  • Loading branch information
a110605 committed Nov 5, 2024
1 parent 8a7288e commit 0e680ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/harvester/promptRemove/kubevirt.io.virtualmachine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default {
methods: {
resourceNames,
remove() {
const parentComponent = this.$parent.$parent.$parent;
const parentComponent = this.$parent.$parent.$parent.$parent;
let goTo;
Expand Down
2 changes: 0 additions & 2 deletions shell/components/PromptRemove.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ export default {
// where the custom dialog needs to delete additional resources - it handles those and retrurns false to get us
// to delete the main resource
if (handled === undefined || handled) {
this.close();
return;
}
}
Expand Down

0 comments on commit 0e680ac

Please sign in to comment.