fix: don't try to load the namespace again when navigating away from the settings page

Resolves https://github.com/go-vikunja/frontend/issues/58
This commit is contained in:
kolaente 2022-06-12 14:59:53 +02:00
parent 9523a64bbb
commit aadf75c7bf
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 8 additions and 6 deletions

View file

@ -217,6 +217,7 @@ const router = createRouter({
meta: {
showAsModal: true,
},
props: route => ({ namespaceId: parseInt(route.params.id as string) }),
},
{
path: '/namespaces/:namespaceId/settings/share',