fix(web): inconsistent asset nav bar state after visiting shared link (#26674)

This commit is contained in:
Snowknight26
2026-03-04 07:25:29 -06:00
committed by GitHub
parent 13c4260a1f
commit 5989c9b4aa
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ export const downloadRequest = <TBody = unknown>(options: DownloadRequestOptions
let _sharedLink: SharedLinkResponseDto | undefined;
export const setSharedLink = (sharedLink: SharedLinkResponseDto) => (_sharedLink = sharedLink);
export const getSharedLink = (): SharedLinkResponseDto | undefined => _sharedLink;
export const setSharedLink = (sharedLink: typeof _sharedLink) => (_sharedLink = sharedLink);
export const getSharedLink = (): typeof _sharedLink => _sharedLink;
const createUrl = (path: string, parameters?: Record<string, unknown>) => {
const searchParameters = new URLSearchParams();