mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
ci: browser compatibility linting (#19132)
This commit is contained in:
parent
de756d9497
commit
e2dfbd66c3
11 changed files with 140 additions and 2 deletions
|
|
@ -40,7 +40,8 @@ export function currentUrlReplaceAssetId(assetId: string) {
|
|||
const params = new URLSearchParams($page.url.search);
|
||||
// always remove the assetGridScrollTargetParams
|
||||
params.delete('at');
|
||||
const searchparams = params.size > 0 ? '?' + params.toString() : '';
|
||||
const paramsString = params.toString();
|
||||
const searchparams = paramsString == '' ? '' : '?' + params.toString();
|
||||
// this contains special casing for the /photos/:assetId photos route, which hangs directly
|
||||
// off / instead of a subpath, unlike every other asset-containing route.
|
||||
return isPhotosRoute($page.route.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue