fix: App sidebar context switching with page (#29615)
Fixes a context switching issue where app sidebar navigation does not retain the current page canvas fixes #29614 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the context switching mechanism to include page-specific data, enhancing the app's responsiveness and accuracy when users switch between different contexts. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
0c4586a64c
commit
62913aea25
|
|
@ -260,7 +260,7 @@ function* getEntitiesForSet(
|
|||
state?.invokedBy === NavigationMethod.AppSidebar
|
||||
) {
|
||||
const currentAppId: string = yield select(getCurrentApplicationId);
|
||||
const key = `${currentEntityInfo.appState}.${currentAppId}#${branch}`;
|
||||
const key = `${currentEntityInfo.appState}.${currentAppId}.${currentEntityInfo.pageId}#${branch}`;
|
||||
entities.push({
|
||||
key,
|
||||
entityInfo: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user