From f6eaa99aeb394592f7410a19cec258e0c7472e62 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 3 Apr 2024 10:04:47 +0200 Subject: [PATCH] refs #6321 fix: warnings --- src/components/FetchData.vue | 4 ++-- src/pages/Ticket/Negative/TicketLackDialogProxy.vue | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/FetchData.vue b/src/components/FetchData.vue index 1d1cec237..8206c4e2c 100644 --- a/src/components/FetchData.vue +++ b/src/components/FetchData.vue @@ -24,8 +24,8 @@ const $props = defineProps({ default: '', }, limit: { - type: Number, - default: 30, + type: String, + default: '30', }, params: { type: Object, diff --git a/src/pages/Ticket/Negative/TicketLackDialogProxy.vue b/src/pages/Ticket/Negative/TicketLackDialogProxy.vue index 5118f2b4f..7aa72ccf6 100644 --- a/src/pages/Ticket/Negative/TicketLackDialogProxy.vue +++ b/src/pages/Ticket/Negative/TicketLackDialogProxy.vue @@ -8,7 +8,8 @@ const { t } = useI18n(); const $props = defineProps({ ticket: { type: Object, - required: true, + required: false, + default: () => {}, }, id: { type: Number,