diff --git a/pkg/harvester/models/kubevirt.io.virtualmachine.js b/pkg/harvester/models/kubevirt.io.virtualmachine.js index 1d0ea6d6..2e05d306 100644 --- a/pkg/harvester/models/kubevirt.io.virtualmachine.js +++ b/pkg/harvester/models/kubevirt.io.virtualmachine.js @@ -1120,10 +1120,6 @@ export default class VirtVm extends HarvesterResource { return qemu?.status === 'True'; } - get warnDeletionMessage() { - return this.t('harvester.virtualMachine.promptRemove.tips'); - } - get instanceLabels() { const all = this.spec?.template?.metadata?.labels || {}; diff --git a/pkg/harvester/promptRemove/kubevirt.io.virtualmachine.vue b/pkg/harvester/promptRemove/kubevirt.io.virtualmachine.vue index 3ce2a2ae..4ecbae33 100644 --- a/pkg/harvester/promptRemove/kubevirt.io.virtualmachine.vue +++ b/pkg/harvester/promptRemove/kubevirt.io.virtualmachine.vue @@ -4,6 +4,7 @@ import { isEmpty } from '@shell/utils/object'; import Parse from 'url-parse'; import { resourceNames } from '@shell/utils/string'; import { HCI } from '../types'; +import { alternateLabel as alternateLabelButton } from '@shell/utils/platform'; export default { name: 'HarvesterPromptRemove', @@ -39,8 +40,9 @@ export default { data() { return { - checkedList: [], - checkAll: true + checkedList: [], + checkAll: true, + alternateLabel: alternateLabelButton }; }, @@ -138,44 +140,53 @@ export default {