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
+2
View File
@@ -5,6 +5,8 @@ import Tag from '@shell/components/Tag';
export default {
name: 'Tags',
emits: ['update:value'],
components: { Tag },
props: {
@@ -4,6 +4,8 @@ import LabeledSelect from '@shell/components/form/LabeledSelect.vue';
export default {
name: 'HarvesterFilterLabel',
emits: ['change-rows'],
components: { LabeledSelect },
props: {
+2
View File
@@ -6,6 +6,8 @@ import LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';
export default {
name: 'HarvesterFilterLabel',
emits: ['changeRows'],
components: {
Select,
ArrayList,
@@ -11,6 +11,8 @@ import Socket, {
} from '@shell/utils/socket';
export default {
emits: ['close'],
props: {
value: {
type: Object,
@@ -7,6 +7,8 @@ import ModalWithCard from '@shell/components/ModalWithCard';
const PREFERED_SHORTCUT_KEYS = 'prefered-shortcut-keys';
export default {
emits: ['close'],
components: {
ModalWithCard, Banner, AsyncButton
},
@@ -1,6 +1,8 @@
<script>
export default {
name: 'NovncConsoleItem',
emits: ['send-keys', 'update'],
props: {
items: {