0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-07 00:50:23 -05:00

fix(web): reset asset grid after changing album order (#12139)

This commit is contained in:
Michel Heusschen 2024-08-30 16:31:53 +02:00 committed by GitHub
parent aa04ded311
commit b1e780561d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -731,7 +731,10 @@
{album} {album}
order={albumOrder} order={albumOrder}
user={$user} user={$user}
onChangeOrder={(order) => (albumOrder = order)} onChangeOrder={async (order) => {
albumOrder = order;
await setModeToView();
}}
on:close={() => (viewMode = ViewMode.VIEW)} on:close={() => (viewMode = ViewMode.VIEW)}
on:toggleEnableActivity={handleToggleEnableActivity} on:toggleEnableActivity={handleToggleEnableActivity}
on:showSelectSharedUser={() => (viewMode = ViewMode.SELECT_USERS)} on:showSelectSharedUser={() => (viewMode = ViewMode.SELECT_USERS)}