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`
This commit is contained in:
Vlad Stan
2024-02-05 11:39:35 +00:00
committed by GitHub
parent 55fed49be1
commit 22ea83e843
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -185,7 +185,7 @@
flat
color="primary"
type="a"
:href="extension.id"
:href="extension.id + '/'"
>{%raw%}{{ $t('open') }}{%endraw%}</q-btn
>
<q-btn
+3
View File
@@ -167,6 +167,9 @@ async def extensions_install(
)
)
# refresh user state. Eg: enabled extensions.
user = await get_user(user.id) or user
return template_renderer().TemplateResponse(
"core/extensions.html",
{