mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: use <a> tag for albums in list view (#5645)
* fix: multiple improvements * pr feedback * optimize
This commit is contained in:
parent
fb4b4e5895
commit
fba9e784fb
16 changed files with 86 additions and 59 deletions
|
|
@ -1,4 +1,12 @@
|
|||
import { writable } from 'svelte/store';
|
||||
import { get, writable } from 'svelte/store';
|
||||
import type { UserResponseDto } from '@api';
|
||||
|
||||
export const user = writable<UserResponseDto | null>(null);
|
||||
|
||||
export const setUser = (value: UserResponseDto | null) => {
|
||||
user.set(value);
|
||||
};
|
||||
|
||||
export const getSavedUser = () => {
|
||||
return get(user);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue