fix(web): escape key to clear selection and go to previous page (#15142) (#15219)

This commit is contained in:
Jin Xuan
2025-01-10 23:27:35 +08:00
committed by GitHub
parent f9db60f25b
commit 3030e74fc3
5 changed files with 48 additions and 5 deletions
@@ -215,7 +215,10 @@
viewMode = AlbumPageViewMode.VIEW;
return;
}
if (viewMode === AlbumPageViewMode.SELECT_THUMBNAIL) {
viewMode = AlbumPageViewMode.VIEW;
return;
}
if (viewMode === AlbumPageViewMode.SELECT_ASSETS) {
await handleCloseSelectAssets();
return;