Skip to content

Commit 21dea06

Browse files
authored
Only show loading in entry view if switching entries (#1740)
1 parent 4043ca2 commit 21dea06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/viewer/src/project/browse/EntryView.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
</div>
109109
</ScrollArea>
110110
{/if}
111-
{#if loadingDebounced.current}
111+
{#if loadingDebounced.current && entryResource.current?.id !== entryId}
112112
<div
113113
class="absolute inset-0 opacity-50 bg-background z-10"
114114
transition:fade={{ duration: 150 }}>

0 commit comments

Comments
 (0)