diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue index 5d217a6..60d3fa2 100644 --- a/ui/noogle/src/components/ImageGeneration.vue +++ b/ui/noogle/src/components/ImageGeneration.vue @@ -294,15 +294,23 @@ function nextInput(e) { } if (webln) { + try{ + let response = await webln.sendPayment(invoice) + dvms.find(i => i.bolt11 === invoice).status = "paid" + store.commit('set_imagedvm_results', dvms) + } + catch(err){ + console.log(err) + await copyinvoice(invoice) + } + - let response = await webln.sendPayment(invoice) //console.log(response) //for (const dvm of dvms){ // console.log(dvm.bolt11 + " " + invoice) //} - dvms.find(i => i.bolt11 === invoice).status = "paid" - store.commit('set_imagedvm_results', dvms) + } @@ -447,7 +455,7 @@ const submitHandler = async () => {
DVM Picture
-
+