Skip to content

Commit

Permalink
pkp/pkp-lib#9890 don't affect other expandedKeys when using setActive…
Browse files Browse the repository at this point in the history
…ItemKey
  • Loading branch information
jardakotesovec committed Oct 17, 2024
1 parent f72eca0 commit 5b972e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useSideMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function useSideMenu(_items, opts = {}) {

const parentKeys = findParentKeys(items.value, key);
if (parentKeys) {
setExpandedKeys([...parentKeys, ...Object.keys(_expandedKeys)]);
setExpandedKeys([...parentKeys, ...Object.keys(expandedKeys.value)]);
}
}

Expand Down

0 comments on commit 5b972e8

Please sign in to comment.