Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

Commit 8d1d311

Browse files
committed
Fix project routing
Closes #2831. Signed-off-by: Rūdolfs Ošiņš <[email protected]>
1 parent d1e1c67 commit 8d1d311

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/App/ProjectScreen.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
onDestroy(unwatchProjectUpdates);
3838
3939
// Initialise the screen by fetching the project and associated data.
40-
fetch(urn);
40+
// This has to be a reactive statement for routing to work properly when
41+
// navigating between different projects.
42+
$: fetch(urn);
4143
4244
$: if ($store.status === remote.Status.Error) {
4345
notification.showException($store.error);

0 commit comments

Comments
 (0)