From 22ea83e843fe5b050c32cc4ace4516ea80fe7591 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 5 Feb 2024 13:39:35 +0200 Subject: [PATCH] Fix extension navigation (#2236) * fix: avoid `path` clash with other routes (`/withdraw` in this case) * fix: refresh user state after extension action * chore: fix `mypy` --- lnbits/core/templates/core/extensions.html | 2 +- lnbits/core/views/generic.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lnbits/core/templates/core/extensions.html b/lnbits/core/templates/core/extensions.html index 256b05c70..4b2874abf 100644 --- a/lnbits/core/templates/core/extensions.html +++ b/lnbits/core/templates/core/extensions.html @@ -185,7 +185,7 @@ flat color="primary" type="a" - :href="extension.id" + :href="extension.id + '/'" >{%raw%}{{ $t('open') }}{%endraw%}