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:
parent
aa04ded311
commit
b1e780561d
1 changed files with 4 additions and 1 deletions
|
@ -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)}
|
||||||
|
|
Loading…
Reference in a new issue