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 812c95f..d45b61b 100644 --- a/templates/withdraw/display.html +++ b/templates/withdraw/display.html @@ -17,6 +17,7 @@ @@ -66,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 4864740..b7bf946 100644 --- a/templates/withdraw/index.html +++ b/templates/withdraw/index.html @@ -461,6 +461,7 @@