diff --git a/Dnn.AdminExperience/ClientSide/Pages.Web/src/components/dnn-persona-bar-page-treeview/src/PersonaBarPageTreeviewInteractor.jsx b/Dnn.AdminExperience/ClientSide/Pages.Web/src/components/dnn-persona-bar-page-treeview/src/PersonaBarPageTreeviewInteractor.jsx index 51032ace819..0dd89304da5 100644 --- a/Dnn.AdminExperience/ClientSide/Pages.Web/src/components/dnn-persona-bar-page-treeview/src/PersonaBarPageTreeviewInteractor.jsx +++ b/Dnn.AdminExperience/ClientSide/Pages.Web/src/components/dnn-persona-bar-page-treeview/src/PersonaBarPageTreeviewInteractor.jsx @@ -124,12 +124,14 @@ class PersonaBarPageTreeviewInteractor extends Component { initialCollapse: false }); let listPageItems = undefined; + let updateReduxStore = null; this.props._traverse((item, listItem, updateStore) => { (item.id === id) ? item.isOpen = !item.isOpen : null; - updateStore(listItem); + updateReduxStore = updateStore; listPageItems = listItem; }); + updateReduxStore ? updateReduxStore(listPageItems) : null; this._countTreeOpenDeepParent(listPageItems); }