Update web/src/lib/components/photos-page/asset-grid.svelte

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
pull/9712/head
martin 2024-05-27 21:02:08 +02:00 committed by GitHub
parent 43aa1e8162
commit a20ff86591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
}