From 0e560190f4cf68bcff16fe57f72850796aa3fc60 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 11 May 2026 09:56:19 +0100 Subject: [PATCH 1/3] send use-fallback prop --- templates/withdraw/display.html | 1 + templates/withdraw/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/withdraw/display.html b/templates/withdraw/display.html index 812c95f..42e7122 100644 --- a/templates/withdraw/display.html +++ b/templates/withdraw/display.html @@ -17,6 +17,7 @@ diff --git a/templates/withdraw/index.html b/templates/withdraw/index.html index 4864740..085b632 100644 --- a/templates/withdraw/index.html +++ b/templates/withdraw/index.html @@ -461,6 +461,7 @@
From 38d9a24864d3d24184a69d38fa0d181f378a3242 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 25 May 2026 10:53:14 +0100 Subject: [PATCH 2/3] fix: use href prop instead of use-fallback --- templates/withdraw/display.html | 2 +- templates/withdraw/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/withdraw/display.html b/templates/withdraw/display.html index 42e7122..13f9ddd 100644 --- a/templates/withdraw/display.html +++ b/templates/withdraw/display.html @@ -17,7 +17,7 @@ diff --git a/templates/withdraw/index.html b/templates/withdraw/index.html index 085b632..3630ee7 100644 --- a/templates/withdraw/index.html +++ b/templates/withdraw/index.html @@ -461,7 +461,7 @@
From 2cc9ae30dcf230ce089a6dac6efd9e9cc92a6937 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Tue, 26 May 2026 11:45:24 +0100 Subject: [PATCH 3/3] send url as prop to component --- static/js/index.js | 3 +++ templates/withdraw/display.html | 7 ++++++- templates/withdraw/index.html | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index b84ecfc..b2b660c 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -129,6 +129,9 @@ window.app = Vue.createApp({ dialog.data.max_withdrawable >= dialog.data.min_withdrawable : dialog.data.max_withdrawable >= 1 && dialog.data.max_withdrawable >= dialog.data.min_withdrawable + }, + href() { + return new URL(this.activeUrl).origin } }, methods: { diff --git a/templates/withdraw/display.html b/templates/withdraw/display.html index 13f9ddd..d45b61b 100644 --- a/templates/withdraw/display.html +++ b/templates/withdraw/display.html @@ -17,7 +17,7 @@ @@ -67,6 +67,11 @@
nfcTagWriting: false, enabled: {{ 'true' if enabled else 'false' }} } + }, + computed: { + href() { + return new URL(this.url).origin + }, } }) diff --git a/templates/withdraw/index.html b/templates/withdraw/index.html index 3630ee7..b7bf946 100644 --- a/templates/withdraw/index.html +++ b/templates/withdraw/index.html @@ -461,7 +461,7 @@