mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
fix(web): back button from person detail page (#5047)
* feat: return button to the main page * add album route * feat: do not use explicit routes
This commit is contained in:
parent
ecbe7beb6c
commit
6214d510d6
4 changed files with 13 additions and 2 deletions
web/src/lib/utils
3
web/src/lib/utils/navigation.ts
Normal file
3
web/src/lib/utils/navigation.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export const isExternalUrl = (url: string): boolean => {
|
||||
return new URL(url).origin !== location.origin;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue