From 5f9a07c98fa3541d74ee579fb549991f38033899 Mon Sep 17 00:00:00 2001 From: Jake Fulmine Date: Mon, 28 Nov 2022 17:19:26 +0100 Subject: [PATCH] fix(dashboard): fix url changing incorrectly when changing tabs --- dashboard/src/routes/Dash/Dash.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/routes/Dash/Dash.svelte b/dashboard/src/routes/Dash/Dash.svelte index 3e177586..d809ce6c 100644 --- a/dashboard/src/routes/Dash/Dash.svelte +++ b/dashboard/src/routes/Dash/Dash.svelte @@ -114,7 +114,7 @@

Viewing your own system

- navigateTo(e.detail, listView)}> + navigateTo(e.detail, e.detail === 'members' ? memberListPageOptions.view : e.detail === 'groups' ? groupListPageOptions.view : 'list')}> @@ -122,7 +122,7 @@ navigateTo("members", e.detail)} bind:otherList={groupList} bind:lists={memberList} bind:pageOptions={memberListPageOptions} bind:options={memberListOptions} /> - navigateTo("members", e.detail)} bind:otherList={memberList} bind:lists={groupList} bind:pageOptions={groupListPageOptions} bind:options={groupListOptions} /> + navigateTo("groups", e.detail)} bind:otherList={memberList} bind:lists={groupList} bind:pageOptions={groupListPageOptions} bind:options={groupListOptions} />