mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
Updated all the components to use emits to remove the warnings from the console.
This commit is contained in:
+2
@@ -10,6 +10,8 @@ import ModalWithCard from '@shell/components/ModalWithCard';
|
||||
const _NEW = '_NEW';
|
||||
|
||||
export default {
|
||||
emits: ['update:user', 'update:newUser'],
|
||||
|
||||
components: {
|
||||
LabeledInput,
|
||||
LabeledSelect,
|
||||
|
||||
+2
@@ -13,6 +13,8 @@ import { ACCESS_CREDENTIALS } from '../../../config/harvester-map';
|
||||
const _NEW = '_NEW';
|
||||
|
||||
export default {
|
||||
emits: ['update:value'],
|
||||
|
||||
components: {
|
||||
Banner,
|
||||
InfoBox
|
||||
|
||||
+3
@@ -4,6 +4,9 @@ import AccessCredentialsUsers from '../AccessCredentialsUsers';
|
||||
|
||||
export default {
|
||||
name: 'HarvesterEditVolume',
|
||||
|
||||
emits: ['update', 'update:newUser'],
|
||||
|
||||
components: { Password, AccessCredentialsUsers },
|
||||
|
||||
props: {
|
||||
|
||||
+3
@@ -4,6 +4,9 @@ import AccessCredentialsUsers from '../AccessCredentialsUsers';
|
||||
|
||||
export default {
|
||||
name: 'HarvesterEditVolume',
|
||||
|
||||
emits: ['update', 'update:newUser'],
|
||||
|
||||
components: { SSHKey, AccessCredentialsUsers },
|
||||
|
||||
props: {
|
||||
|
||||
Reference in New Issue
Block a user