mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 06:31:58 +00:00
Update web/src/lib/components/photos-page/asset-grid.svelte
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
parent
43aa1e8162
commit
a20ff86591
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@
|
|||
// you're not supposed to manage your assets on the trash page: there's no button to manage it, then there's no reason to have shortcuts to do it.
|
||||
if ($page.url.pathname !== AppRoute.TRASH) {
|
||||
shortcuts.push({ shortcut: { key: 'a', shift: true }, onShortcut: onArchive });
|
||||
// on some page, you can't favorite assets (like on `/parthner`)
|
||||
// on some pages, you can't favorite assets (like on `/partner`)
|
||||
if (isAllFavorite !== null) {
|
||||
shortcuts.push({ shortcut: { key: 'f' }, onShortcut: onFavorite });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue