File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -367,11 +367,11 @@ export default {
367
367
const match = this .indicators .find ((indicator ) => item .link === indicator .link );
368
368
this .setSelectedIndicator (match);
369
369
370
- const uiPanels = this .$parent .$parent .$parent .$parent .$children ;
371
- // programatically open Layer Panel it exists and not open yet
372
- if (! uiPanels [1 ].$refs .header .$el .classList .contains (' v-expansion-panel-header--active' )) {
373
- uiPanels [1 ].$refs .header .$emit (' click' , {
374
- currentTarget: uiPanels [1 ].$refs .header .$el ,
370
+ const uiPanelsLeft = this .$parent .$parent .$parent .$parent .$children ;
371
+ // programatically open Layer Panel if exists and not open yet
372
+ if (! uiPanelsLeft [1 ].$refs .header .$el .classList .contains (' v-expansion-panel-header--active' )) {
373
+ uiPanelsLeft [1 ].$refs .header .$emit (' click' , {
374
+ currentTarget: uiPanelsLeft [1 ].$refs .header .$el ,
375
375
});
376
376
}
377
377
}
Original file line number Diff line number Diff line change @@ -231,6 +231,13 @@ export default {
231
231
});
232
232
this .linksInStacInfo = linksFiltered;
233
233
this .stacInfoLoaded = true ;
234
+ // programatically open Analysis panel if exists and not open yet
235
+ const uiPanelsRight = this .$parent .$parent .$parent .$parent .$children ;
236
+ if (! uiPanelsRight[1 ].$refs .header .$el .classList .contains (' v-expansion-panel-header--active' )) {
237
+ uiPanelsRight[1 ].$refs .header .$emit (' click' , {
238
+ currentTarget: uiPanelsRight[1 ].$refs .header .$el ,
239
+ });
240
+ }
234
241
});
235
242
},
236
243
async fetchDataInfo (dataInfoObject , i ) {
You can’t perform that action at this time.
0 commit comments