diff --git a/frontend/viewer/src/ProjectView.svelte b/frontend/viewer/src/ProjectView.svelte index af05d74b9..6df0d62b5 100644 --- a/frontend/viewer/src/ProjectView.svelte +++ b/frontend/viewer/src/ProjectView.svelte @@ -217,6 +217,8 @@ $entries?.push(entry);//need to add it before refresh, otherwise it won't get selected because it's not in the list if (!options?.dontNavigate) { navigateToEntry(entry, headword(entry)); + } else { + refreshEntries(); } } @@ -336,7 +338,7 @@
{#if !readonly} - + onEntryCreated(e.detail.entry, {dontNavigate: true})} /> {/if} {#if $features.history}