Updated all the components to use emits to remove the warnings from the console.

This commit is contained in:
Cody Jackson
2024-10-23 17:01:04 +02:00
committed by Francesco Torchia
parent 7ea0fc54e1
commit 20584d293a
75 changed files with 163 additions and 0 deletions
@@ -19,6 +19,8 @@ import { PRODUCT_NAME as HARVESTER_PRODUCT } from '../../../config/harvester';
import { HCI } from '../../../types';
export default {
emits: ['update:value'],
components: {
Banner, BadgeStateFormatter, Sortable, InfoBox, LabeledInput, UnitInput, LabeledSelect, ModalWithCard
},
@@ -6,6 +6,9 @@ import { VOLUME_TYPE, InterfaceOption } from '../../../../config/harvester-map';
export default {
name: 'HarvesterEditContainer',
emits: ['update'],
components: {
LabeledInput, LabeledSelect, InputOrDisplay
},
@@ -13,6 +13,9 @@ import { VOLUME_TYPE, InterfaceOption } from '../../../../config/harvester-map';
export default {
name: 'HarvesterEditExisting',
emits: ['update'],
components: {
UnitInput, LabeledInput, LabeledSelect, InputOrDisplay
},
@@ -12,6 +12,8 @@ import { VOLUME_TYPE, InterfaceOption } from '../../../../config/harvester-map';
export default {
name: 'HarvesterEditVMImage',
emits: ['update'],
components: {
UnitInput, LabeledInput, LabeledSelect, InputOrDisplay
},
@@ -11,6 +11,9 @@ import { VOLUME_TYPE, InterfaceOption } from '../../../../config/harvester-map';
export default {
name: 'HarvesterEditVolume',
emits: ['update'],
components: {
InputOrDisplay, Loading, LabeledInput, LabeledSelect, UnitInput,
},