Skip to content

Commit

Permalink
removing the redundant record limit, correcting the name of the intan…
Browse files Browse the repository at this point in the history
…ce name web service parameter
  • Loading branch information
PhillipsOwen committed Aug 29, 2024
1 parent 0ec5583 commit fdb313f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/trays/model-selection/synopticTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const SynopticTabForm = () => {
// init the data urls
const rootUrl = `${ getNamespacedEnvParam('REACT_APP_UI_DATA_URL') }`;
const basePulldownUrl = `get_pulldown_data?met_class=synoptic${ getBrandingHandler() }`;
const baseDataUrl = `get_ui_data_secure?limit=14&met_class=synoptic&use_v3_sp=true${ getBrandingHandler() }`;
const baseDataUrl = `get_ui_data_secure?met_class=synoptic&use_v3_sp=true${ getBrandingHandler() }`;
const [finalDataUrl, setFinalDataUrl] = useState(rootUrl + basePulldownUrl);

// storage for received data to render pulldowns
Expand Down Expand Up @@ -68,7 +68,7 @@ export const SynopticTabForm = () => {
((synopticDate) ? '&run_date=' + synopticDate.toISOString() : '') +
((synopticCycle) ? '&cycle=' + synopticCycle : '') +
((synopticGrid) ? '&grid_type=' + synopticGrid : '') +
((synopticInstance) ? '&instance=' + synopticInstance : '');
((synopticInstance) ? '&instance_name=' + synopticInstance : '');

// set different limits on the data returned if no filter params were passed
if (queryString === '') {
Expand Down
2 changes: 1 addition & 1 deletion src/components/trays/model-selection/tropicalTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const TropicalTabForm = () => {
((tropicalStorm) ? '&storm_name=' + tropicalStorm : '') +
((tropicalAdvisory) ? '&advisory_number=' + tropicalAdvisory : '') +
((tropicalGrid) ? '&grid_type=' + tropicalGrid : '') +
((tropicalInstance) ? '&instance=' + tropicalInstance : '');
((tropicalInstance) ? '&instance_name=' + tropicalInstance : '');

// set different limits on the data returned if no filter params were passed (in days)
if (queryString === '') {
Expand Down

0 comments on commit fdb313f

Please sign in to comment.