File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 151151 {{ 'JOINT_OBSERVATION_ONLY' | translate }}
152152 </ div >
153153 }
154+ @if (filters.ariaVersion) {
155+ < div >
156+ < b > {{ 'ARIA_VERSION' | translate }}:</ b > {{ filters.ariaVersion }}
157+ </ div >
158+ }
154159 </ div >
155160}
156161
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ export interface GeographicFiltersType {
102102 rangeBandwidth : string [ ] ;
103103 instrument : string [ ] ;
104104 groupID : null | string ;
105+
106+ ariaVersion ?: string ;
105107}
106108
107109export interface SarviewsFiltersType {
Original file line number Diff line number Diff line change @@ -820,6 +820,13 @@ export class UrlStateService {
820820 ) ,
821821 loader : this . loadProduction ,
822822 } ,
823+ {
824+ name : 'ariaVersion' ,
825+ source : this . store$
826+ . select ( filterStore . getAriaVersion )
827+ . pipe ( map ( ( ariaVersion ) => ( { ariaVersion } ) ) ) ,
828+ loader : this . loadAriaVersion ,
829+ } ,
823830 {
824831 name : 'useFrameForBaseline' ,
825832 source : this . store$
@@ -1342,6 +1349,10 @@ export class UrlStateService {
13421349 return new filterStore . SetUseFrameForBaseline ( ! ! usingseFrameForBaseline ) ;
13431350 } ;
13441351
1352+ private loadAriaVersion = ( version : string ) : Action => {
1353+ return new filterStore . setAriaVersion ( version ) ;
1354+ } ;
1355+
13451356 private loadSeriesState = ( seriesState ) => {
13461357 const states : models . timeseriesChartItemState [ ] = [ ] ;
13471358 seriesState . split ( '::' ) . forEach ( ( x ) => {
Original file line number Diff line number Diff line change @@ -777,6 +777,7 @@ export function filtersReducer(
777777 rangeBandwidth : filters . rangeBandwidth || [ ] ,
778778 instrument : filters . instrument || [ ] ,
779779 groupID : filters . groupID ,
780+ ariaVersion : filters . ariaVersion ,
780781 } ;
781782 }
782783 }
@@ -1159,6 +1160,7 @@ export const getGeographicSearch = createSelector(
11591160 rangeBandwidth : state . rangeBandwidth ,
11601161 instrument : state . instrument ,
11611162 groupID : state . groupID ,
1163+ ariaVersion : state . ariaVersion ,
11621164 } ) ,
11631165) ;
11641166
You can’t perform that action at this time.
0 commit comments