@@ -238,7 +238,7 @@ export const TableSearchMethods = FunctionalTableSearchMethods;
238238function SpatialSearch ( { cols, columnsModel, groupKey, fields, initArgs= { } , obsCoreEnabled, useConstraintReducer, useFieldGroupReducer} ) {
239239 const panelTitle = ! obsCoreEnabled ? Spatial : 'Location' ;
240240 const panelValue = Spatial ;
241- const panelPrefix = getPanelPrefix ( Spatial ) ;
241+ const panelPrefix = getPanelPrefix ( panelTitle ) ;
242242 const { POSITION :worldPt , radiusInArcSec} = initArgs ;
243243 const [ spatialMethod , setSpatialMethod ] = useState ( TapSpatialSearchMethod . Cone . value ) ;
244244 const [ spatialRegionOperation , setSpatialRegionOperation ] = useState ( 'contains_shape' ) ;
@@ -342,7 +342,7 @@ function SpatialSearch({cols, columnsModel, groupKey, fields, initArgs={}, obsCo
342342 { label : 'Observation boundary contains shape' , value : 'contains_shape' } ,
343343 { label : 'Observation boundary is contained by shape' , value : 'contained_by_shape' } ,
344344 { label : 'Observation boundary intersects shape' , value : 'intersects' } ,
345- { label : 'central point (s_ra, s_dec) is contained by shape' , value : 'center_contained' } ,
345+ { label : 'Central point (s_ra, s_dec) is contained by shape' , value : 'center_contained' } ,
346346 ] }
347347 initialState = { {
348348 value : 'contains_shape'
0 commit comments