File tree Expand file tree Collapse file tree 1 file changed +12
-18
lines changed
ui/desktop/app/routes/scopes/scope/projects/sessions Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -136,27 +136,21 @@ export default class ScopesScopeProjectsSessionsIndexRoute extends Route {
136136 const chunkedTargetIds = chunk ( uniqueTargetIds , 50 ) ;
137137
138138 const associatedTargetsPromises = chunkedTargetIds . map ( ( targetIds ) =>
139- this . store . query (
140- 'target' ,
141- {
142- scope_id : orgScope . id ,
143- recursive : true ,
144- force_refresh : true ,
145- query : {
146- filters : {
147- id : {
148- logicalOperator : 'or' ,
149- values : targetIds . map ( ( targetId ) => ( {
150- equals : targetId ,
151- } ) ) ,
152- } ,
139+ this . store . query ( 'target' , {
140+ scope_id : orgScope . id ,
141+ recursive : true ,
142+ force_refresh : true ,
143+ query : {
144+ filters : {
145+ id : {
146+ logicalOperator : 'or' ,
147+ values : targetIds . map ( ( targetId ) => ( {
148+ equals : targetId ,
149+ } ) ) ,
153150 } ,
154151 } ,
155152 } ,
156- {
157- pushToStore : false ,
158- } ,
159- ) ,
153+ } ) ,
160154 ) ;
161155
162156 const targetsArray = await Promise . all ( associatedTargetsPromises ) ;
You can’t perform that action at this time.
0 commit comments