Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:00:47 +02:00
parent 4f2688f6ab
commit c983ed8384
101 changed files with 186 additions and 189 deletions
@@ -23,7 +23,7 @@ export default {
computed: {
vm() {
const vm = this.vmList.find( (V) => V.id === `${ this.row.metadata.namespace }/${ this.value }`);
const vm = this.vmList.find( V => V.id === `${ this.row.metadata.namespace }/${ this.value }`);
return vm;
},
@@ -1,11 +1,11 @@
<script>
import { OFF } from '../models/kubevirt.io.virtualmachine';
import { get } from '@shell/utils/object';
import { isIpv4 } from '@shell/utils/string';
import { HCI as HCI_ANNOTATIONS } from '@pkg/harvester/config/labels-annotations';
import CopyToClipboardText from '@shell/components/CopyToClipboardText';
import { HCI } from '../types';
import { MANAGEMENT_NETWORK } from '../mixins/harvester-vm';
import CopyToClipboardText from '@shell/components/CopyToClipboardText';
import { OFF } from '../models/kubevirt.io.virtualmachine';
export default {
components: { CopyToClipboardText },
@@ -1,6 +1,6 @@
<script>
import { HCI } from '../types';
import { BadgeState } from '@components/BadgeState';
import { HCI } from '../types';
export default {
components: { BadgeState },
@@ -22,7 +22,7 @@ export default {
computed: {
volume() {
const namespace = this.row?.metadata?.namespace;
const volume = this.volumeList.find( (V) => V.id === `${ namespace }/${ this.value }`) || {};
const volume = this.volumeList.find( V => V.id === `${ namespace }/${ this.value }`) || {};
return volume;
},