mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(web): auth on navigation from shared link to timeline (#12385)
This commit is contained in:
parent
aa0097bde2
commit
9fc30d6bf6
3 changed files with 14 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ export const getJobName = derived(t, ($t) => {
|
|||
let _key: string | undefined;
|
||||
let _sharedLink: SharedLinkResponseDto | undefined;
|
||||
|
||||
export const setKey = (key: string) => (_key = key);
|
||||
export const setKey = (key?: string) => (_key = key);
|
||||
export const getKey = (): string | undefined => _key;
|
||||
export const setSharedLink = (sharedLink: SharedLinkResponseDto) => (_sharedLink = sharedLink);
|
||||
export const getSharedLink = (): SharedLinkResponseDto | undefined => _sharedLink;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue