diff --git a/frontend/src/components/NewCardList/params.vue b/frontend/src/components/NewCardList/params.vue index cea5f7a4..f32dd28e 100644 --- a/frontend/src/components/NewCardList/params.vue +++ b/frontend/src/components/NewCardList/params.vue @@ -17,7 +17,7 @@ const formRef = ref(); const openInstanceSelectDialog = async () => { try { const selectedInstances = await useSelectInstances(); - if (selectedInstances) { + if (selectedInstances && selectedInstances.length > 0) { formData.value.instanceId = selectedInstances[0].instanceUuid; formData.value.daemonId = selectedInstances[0].daemonId; }