From b9fb3eff17c4f14e57ef8fef2445e2444361af69 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Wed, 16 Oct 2024 14:48:12 +0200 Subject: [PATCH] fix(ui): allow to copy api url even in invalid state --- components/body/QRCodeForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/body/QRCodeForm.vue b/components/body/QRCodeForm.vue index d16cb34..f223d30 100644 --- a/components/body/QRCodeForm.vue +++ b/components/body/QRCodeForm.vue @@ -36,6 +36,7 @@ const apiUrl = computed((previous) => { return `${baseApiUrl}?${params}`; }); +const isValidApiUrl = computed(() => !!apiUrl.value); const { icon: copyUrlIcon, copy: copyUrl } = useCopyable(apiUrl); @@ -170,7 +171,7 @@ const { />