mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): previous previous route when hiding person (#4452)
This commit is contained in:
parent
9af5e7838f
commit
41af76bbe2
3 changed files with 8 additions and 3 deletions
|
|
@ -8,6 +8,7 @@
|
|||
import MenuOption from '../shared-components/context-menu/menu-option.svelte';
|
||||
import Portal from '../shared-components/portal/portal.svelte';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import { AppRoute } from '$lib/constants';
|
||||
|
||||
export let person: PersonResponseDto;
|
||||
|
||||
|
|
@ -42,7 +43,7 @@
|
|||
on:mouseleave={() => (showVerticalDots = false)}
|
||||
role="group"
|
||||
>
|
||||
<a href="/people/{person.id}" draggable="false">
|
||||
<a href="/people/{person.id}?previousRoute={AppRoute.PEOPLE}" draggable="false">
|
||||
<div class="h-48 w-48 rounded-xl brightness-95 filter">
|
||||
<ImageThumbnail
|
||||
shadow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue