@@ -14,6 +14,7 @@ import { COMP_KEY, MAP_KEY, withMultiContext } from "./withMultiContext";
14
14
import { paramsEqual } from "./withParams" ;
15
15
import { LazyCompReadyAction } from "../comps/lazyLoadComp/lazyLoadComp" ;
16
16
import { ModuleReadyAction } from "../comps/moduleComp/moduleComp" ;
17
+ import { RemoteCompReadyAction } from "../comps/remoteComp/remoteComp" ;
17
18
18
19
const SELECTED_KEY = "SELECTED" ;
19
20
@@ -75,6 +76,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
75
76
} else if ( (
76
77
! action . editDSL
77
78
&& ! isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
79
+ && ! isCustomAction < RemoteCompReadyAction > ( action , "RemoteCompReady" )
78
80
&& ! isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
79
81
) || action . path [ 0 ] !== MAP_KEY || _ . isNil ( action . path [ 1 ] )
80
82
) {
@@ -85,6 +87,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
85
87
} else if ( (
86
88
action . editDSL
87
89
|| isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
90
+ || isCustomAction < RemoteCompReadyAction > ( action , "RemoteCompReady" )
88
91
|| isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
89
92
) && (
90
93
action . path [ 1 ] === SELECTED_KEY
@@ -104,6 +107,7 @@ export function withSelectedMultiContext<TCtor extends MultiCompConstructor>(
104
107
&& (
105
108
isCustomAction < ModuleReadyAction > ( action , "moduleReady" )
106
109
|| isCustomAction < LazyCompReadyAction > ( action , "LazyCompReady" )
110
+ || isCustomAction < RemoteCompReadyAction > ( action , "RemoteCompReady" )
107
111
) && action . path [ 0 ] === MAP_KEY
108
112
) {
109
113
comp = super . reduce ( action ) ;
0 commit comments