fix: users tabs

This commit is contained in:
Arman
2022-08-04 14:03:26 +02:00
parent cfc6e70039
commit ffe28a4b27
4 changed files with 7 additions and 7 deletions
@@ -3,7 +3,7 @@
import { updateLayout } from '$lib/stores/layout';
import { onMount } from 'svelte';
const path = 'users';
const path = 'authentication';
onMount(handle);
afterNavigate(handle);
@@ -28,10 +28,6 @@
href: `${path}/teams`,
title: 'Teams'
},
{
href: `${path}/authentication`,
title: 'Authentication'
},
{
href: `${path}/usage`,
title: 'Usage'
@@ -39,6 +35,10 @@
{
href: `${path}/security`,
title: 'Security'
},
{
href: `${path}/settings`,
title: 'Settings'
}
]
});
@@ -7,7 +7,7 @@
import { onMount } from 'svelte';
const teamId = $page.params.team;
const path = `users/teams/${teamId}`;
const path = `authentication/teams/${teamId}`;
onMount(handle);
afterNavigate(handle);
@@ -7,7 +7,7 @@
import { user } from './store';
const userId = $page.params.user;
const path = `users/user/${userId}`;
const path = `authentication/user/${userId}`;
onMount(handle);
afterNavigate(handle);