(isOpen = true)} class="dark:text-immich-gray flex gap-1">
{#if isMain}
-
{info?.sourceRef}
+
{$aboutInfo?.sourceRef}
{:else}
{version}
{/if}
diff --git a/web/src/lib/components/shared-components/side-bar/storage-space.svelte b/web/src/lib/components/shared-components/side-bar/storage-space.svelte
index c0de9378acafff..1c16f4e164cd45 100644
--- a/web/src/lib/components/shared-components/side-bar/storage-space.svelte
+++ b/web/src/lib/components/shared-components/side-bar/storage-space.svelte
@@ -38,6 +38,9 @@
});
onMount(async () => {
+ if ($serverInfo && $user) {
+ return;
+ }
await requestServerInfo();
});
diff --git a/web/src/lib/stores/user.store.ts b/web/src/lib/stores/user.store.ts
index 5bffc08b803a2f..2a5d3941ce4d8f 100644
--- a/web/src/lib/stores/user.store.ts
+++ b/web/src/lib/stores/user.store.ts
@@ -1,5 +1,11 @@
import { purchaseStore } from '$lib/stores/purchase.store';
-import { type UserAdminResponseDto, type UserPreferencesResponseDto } from '@immich/sdk';
+import {
+ type AlbumResponseDto,
+ type ServerAboutResponseDto,
+ type ServerVersionHistoryResponseDto,
+ type UserAdminResponseDto,
+ type UserPreferencesResponseDto,
+} from '@immich/sdk';
import { writable } from 'svelte/store';
export const user = writable
();
@@ -14,3 +20,9 @@ export const resetSavedUser = () => {
preferences.set(undefined as unknown as UserPreferencesResponseDto);
purchaseStore.setPurchaseStatus(false);
};
+
+export const recentAlbums = writable();
+
+export const versions = writable();
+
+export const aboutInfo = writable();