Commit 130df6b6 authored by Weiser's avatar Weiser
Browse files

asdf

parent fcb311bd
...@@ -93,7 +93,7 @@ const Currentdata = (props) => { ...@@ -93,7 +93,7 @@ const Currentdata = (props) => {
<label> Last Updated</label> <label> Last Updated</label>
<br /> <br />
<input type="checkbox" id="temp" className="checkBoxFilter" /> <input type="checkbox" id="temp" className="checkBoxFilter" />
<label for="temp">Temp C</label> <label for="temp">Temp</label>
<br /> <br />
<input type="checkbox" id="id_day" className="checkBoxFilter" /> <input type="checkbox" id="id_day" className="checkBoxFilter" />
<label for="id_day">ID Day</label> <label for="id_day">ID Day</label>
...@@ -344,7 +344,7 @@ const Currentdata = (props) => { ...@@ -344,7 +344,7 @@ const Currentdata = (props) => {
filterArray.push("last_updated"); filterArray.push("last_updated");
} }
if (temp) { if (temp) {
if (units == world) { if (units == "world") {
filterArray.push("temp_c"); filterArray.push("temp_c");
} else{ } else{
filterArray.push("temp_f"); filterArray.push("temp_f");
...@@ -364,7 +364,7 @@ const Currentdata = (props) => { ...@@ -364,7 +364,7 @@ const Currentdata = (props) => {
filterArray.push("condition_code"); filterArray.push("condition_code");
} }
if (wind) { if (wind) {
if (units == world) { if (units == "world") {
filterArray.push("wind_kph"); filterArray.push("wind_kph");
} else { } else {
filterArray.push("wind_mph"); filterArray.push("wind_mph");
...@@ -377,14 +377,14 @@ const Currentdata = (props) => { ...@@ -377,14 +377,14 @@ const Currentdata = (props) => {
filterArray.push("wind_dir"); filterArray.push("wind_dir");
} }
if (pressure) { if (pressure) {
if (units == world) { if (units == "world") {
filterArray.push("temp_mb"); filterArray.push("temp_mb");
} else { } else {
filterArray.push("pressure_in"); filterArray.push("pressure_in");
} }
} }
if (precip) { if (precip) {
if (units == world) { if (units == "world") {
filterArray.push("temp_mm"); filterArray.push("temp_mm");
} else { } else {
filterArray.push("precip_in"); filterArray.push("precip_in");
...@@ -397,35 +397,35 @@ const Currentdata = (props) => { ...@@ -397,35 +397,35 @@ const Currentdata = (props) => {
filterArray.push("cloud"); filterArray.push("cloud");
} }
if (feelslike) { if (feelslike) {
if (units == world) { if (units == "world") {
filterArray.push("feelslike_c"); filterArray.push("feelslike_c");
} else { } else {
filterArray.push("feelslike_f"); filterArray.push("feelslike_f");
} }
} }
if (windchill) { if (windchill) {
if (units == world) { if (units == "world") {
filterArray.push("windchill_c"); filterArray.push("windchill_c");
} else { } else {
filterArray.push("windchill_f"); filterArray.push("windchill_f");
} }
} }
if (heatindex) { if (heatindex) {
if (units == world) { if (units == "world") {
filterArray.push("heatindex_c"); filterArray.push("heatindex_c");
} else { } else {
filterArray.push("heatindex_f"); filterArray.push("heatindex_f");
} }
} }
if (dewpoint) { if (dewpoint) {
if (units == world) { if (units == "world") {
filterArray.push("dewpoint_c"); filterArray.push("dewpoint_c");
} else { } else {
filterArray.push("dewpoint_f"); filterArray.push("dewpoint_f");
} }
} }
if (vis) { if (vis) {
if (units == world) { if (units == "world") {
filterArray.push("vis_miles"); filterArray.push("vis_miles");
} else { } else {
filterArray.push("vis_miles"); filterArray.push("vis_miles");
...@@ -435,7 +435,7 @@ const Currentdata = (props) => { ...@@ -435,7 +435,7 @@ const Currentdata = (props) => {
filterArray.push("uv"); filterArray.push("uv");
} }
if (gust) { if (gust) {
if (units == world) { if (units == "world") {
filterArray.push("gust_kph"); filterArray.push("gust_kph");
} else { } else {
filterArray.push("gust_mph"); filterArray.push("gust_mph");
......
...@@ -188,11 +188,6 @@ const WeatherForecastData = (props) => { ...@@ -188,11 +188,6 @@ const WeatherForecastData = (props) => {
<input type="checkbox" id="hour_is_day" class="checkBoxFilter" /> <input type="checkbox" id="hour_is_day" class="checkBoxFilter" />
<label for="hour_is_day">Hour Is Day</label> <label for="hour_is_day">Hour Is Day</label>
<br /> <br />
<input
type="checkbox"
id="hour_condition_text"
class="checkBoxFilter"
/>
<input type="checkbox" id="hour_wind" class="checkBoxFilter" /> <input type="checkbox" id="hour_wind" class="checkBoxFilter" />
<label for="hour_wind">Hour Wind</label> <label for="hour_wind">Hour Wind</label>
<br /> <br />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment