diff --git a/web/src/lib/components/shared-components/side-bar/admin-side-bar.svelte b/web/src/lib/components/shared-components/side-bar/admin-side-bar.svelte index 0d79ae9611..658c029fd8 100644 --- a/web/src/lib/components/shared-components/side-bar/admin-side-bar.svelte +++ b/web/src/lib/components/shared-components/side-bar/admin-side-bar.svelte @@ -1,6 +1,5 @@ - - - - - - - - - - - - - - - - - - + +
diff --git a/web/src/lib/components/shared-components/side-bar/side-bar-button.svelte b/web/src/lib/components/shared-components/side-bar/side-bar-link.svelte similarity index 78% rename from web/src/lib/components/shared-components/side-bar/side-bar-button.svelte rename to web/src/lib/components/shared-components/side-bar/side-bar-link.svelte index fbefb2eb5c..c3816863aa 100644 --- a/web/src/lib/components/shared-components/side-bar/side-bar-button.svelte +++ b/web/src/lib/components/shared-components/side-bar/side-bar-link.svelte @@ -1,26 +1,27 @@ - -
- -

{title}

+ + {title}
-
+ diff --git a/web/src/lib/components/shared-components/side-bar/side-bar.svelte b/web/src/lib/components/shared-components/side-bar/side-bar.svelte index cb59511ffa..cfb0a6bde3 100644 --- a/web/src/lib/components/shared-components/side-bar/side-bar.svelte +++ b/web/src/lib/components/shared-components/side-bar/side-bar.svelte @@ -1,5 +1,4 @@ - - + {#await getStats({ isArchived: false })} @@ -56,29 +54,24 @@ {/await} - - - {#if $featureFlags.search} - - - - {/if} - {#if $featureFlags.map} - - - - {/if} - {#if $sidebarSettings.people} - - - - {/if} - {#if $sidebarSettings.sharing} - - + {#if $featureFlags.search} + + {/if} + + {#if $featureFlags.map} + + {/if} + + {#if $sidebarSettings.people} + + {/if} + {#if $sidebarSettings.sharing} + {#await handleAlbumCount()} @@ -89,19 +82,18 @@ {/await} - - - {/if} + + {/if} -
- -
-
- - + +
+ + {#await getStats({ isFavorite: true })} @@ -113,15 +105,8 @@ {/await} -
-
- - + + {#await handleAlbumCount()} @@ -131,10 +116,9 @@ {/await} - - - - + + + {#await getStats({ isArchived: true })} @@ -145,12 +129,10 @@ {/await} - - + - {#if $featureFlags.trash} - - + {#if $featureFlags.trash} + {#await getStats({ isTrashed: true })} @@ -161,9 +143,9 @@ {/await} - - - {/if} + + {/if} +