mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(web): add album to search result (#2900)
* Add album to search result page * Update web/src/routes/(user)/search/+page.svelte Co-authored-by: Thomas <9749173+uhthomas@users.noreply.github.com> * Update web/src/routes/(user)/search/+page.svelte Co-authored-by: Thomas <9749173+uhthomas@users.noreply.github.com> * change font weight * hide context menu in this view --------- Co-authored-by: Thomas <9749173+uhthomas@users.noreply.github.com>
This commit is contained in:
parent
069c68bfe4
commit
0f0375a67e
5 changed files with 48 additions and 8 deletions
|
|
@ -89,6 +89,10 @@
|
|||
if (from?.url.pathname === '/sharing' && album.sharedUsers.length === 0) {
|
||||
isCreatingSharedAlbum = true;
|
||||
}
|
||||
|
||||
if (from?.route.id === '/(user)/search') {
|
||||
backUrl = from.url.href;
|
||||
}
|
||||
});
|
||||
|
||||
const albumDateFormat: Intl.DateTimeFormatOptions = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue