show a dismissable notification after payment succeed
This commit is contained in:
parent
d96ac5f3ef
commit
e5644ec4f6
|
@ -253,7 +253,7 @@
|
||||||
name="check"
|
name="check"
|
||||||
transition-show="fade"
|
transition-show="fade"
|
||||||
class="text-light-green"
|
class="text-light-green"
|
||||||
style="font-size: 40em"
|
style="font-size: min(90vw, 40em)"
|
||||||
></q-icon>
|
></q-icon>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
</q-page>
|
</q-page>
|
||||||
|
@ -413,9 +413,19 @@
|
||||||
dialog.show = false
|
dialog.show = false
|
||||||
|
|
||||||
self.complete.show = true
|
self.complete.show = true
|
||||||
setTimeout(function () {
|
self.$q.notify({
|
||||||
self.complete.show = false
|
type: 'positive',
|
||||||
}, 5000)
|
message: 'Sats received, thanks!',
|
||||||
|
icon: 'thumb_up',
|
||||||
|
timeout: 0,
|
||||||
|
actions: [
|
||||||
|
{
|
||||||
|
label: 'Dismiss',
|
||||||
|
color: 'white',
|
||||||
|
handler: () => (self.complete.show = false)
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 3000)
|
}, 3000)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user