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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user