fix(web): update stack state in timeline (#17021)

* fix(web): update stack state in timeline

* js docs

* fix: handle state update from unstack action from gallery viewer

* use navigate in View Stack notification

---------

Co-authored-by: Snowknight26 <Snowknight26@users.noreply.github.com>
This commit is contained in:
Alex
2025-03-21 12:42:36 -05:00
committed by GitHub
parent b00da18e84
commit b5d5c40c69
5 changed files with 78 additions and 22 deletions
@@ -18,11 +18,9 @@
const handleStack = async () => {
const selectedAssets = [...getOwnedAssets()];
const ids = await stackAssets(selectedAssets);
if (ids) {
onStack?.(ids);
clearSelect();
}
const result = await stackAssets(selectedAssets);
onStack?.(result);
clearSelect();
};
const handleUnstack = async () => {