diff --git a/src/lib/components/Sidebar.svelte b/src/lib/components/Sidebar.svelte
index 6c4af9282..28e8b1f15 100644
--- a/src/lib/components/Sidebar.svelte
+++ b/src/lib/components/Sidebar.svelte
@@ -1106,35 +1106,6 @@
{/if}
-
- {#if showFavoritesMenu && !isExpanded}
-
-
-
- {#each favoritesTabOrder as tab}
-
- {/each}
-
- {/if}
-
{#if !isOffline}
@@ -1389,6 +1360,35 @@
+
+{#if showFavoritesMenu && !isExpanded}
+
+
+
+ {#each favoritesTabOrder as tab}
+
+ {/each}
+
+{/if}
+
{#if contextMenu.visible}
{@const availableFolders = folders.filter(f => f.id !== contextMenu.currentFolderId)}