@@ -14,6 +14,7 @@ import { COMP_KEY, MAP_KEY, withMultiContext } from "./withMultiContext";
1414import { paramsEqual } from "./withParams" ;
1515import { LazyCompReadyAction } from "../comps/lazyLoadComp/lazyLoadComp" ;
1616import { ModuleReadyAction } from "../comps/moduleComp/moduleComp" ;
17+ import { RemoteCompReadyAction } from "../comps/remoteComp/remoteComp" ;
1718
1819const SELECTED_KEY = "SELECTED" ;
1920
@@ -75,6 +76,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
7576 } else if ( (
7677 ! action . editDSL
7778 && ! isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
79+ && ! isCustomAction < RemoteCompReadyAction > ( action , "RemoteCompReady" )
7880 && ! isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
7981 ) || action . path [ 0 ] !== MAP_KEY || _ . isNil ( action . path [ 1 ] )
8082 ) {
@@ -85,6 +87,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
8587 } else if ( (
8688 action . editDSL
8789 || isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
90+ || isCustomAction < RemoteCompReadyAction > ( action , "RemoteCompReady" )
8891 || isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
8992 ) && (
9093 action . path [ 1 ] === SELECTED_KEY
@@ -104,6 +107,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
104107 && (
105108 isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
106109 || isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
110+ || isCustomAction < RemoteCompReadyAction > ( action , "RemoteCompReady" )
107111 ) && action . path [ 0 ] === MAP_KEY
108112 ) {
109113 comp = super . reduce ( action ) ;
0 commit comments