From 4c312e1d513eda00a5da42b67c531b242c97bf56 Mon Sep 17 00:00:00 2001 From: ar0311 Date: Thu, 16 Apr 2020 02:37:33 +1000 Subject: [PATCH] Fix weather.json (#20769) Removed "temperatureF" elements from weather.json as WeatherForecast class calculates the Fahrenheit temperature internally from the retrieved Celcius temperature and not from the retrieved json data. --- .../Client/wwwroot/sample-data/weather.json | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/ProjectTemplates/ComponentsWebAssembly.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/sample-data/weather.json b/src/ProjectTemplates/ComponentsWebAssembly.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/sample-data/weather.json index ab28bc13ac..06463c02f1 100644 --- a/src/ProjectTemplates/ComponentsWebAssembly.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/sample-data/weather.json +++ b/src/ProjectTemplates/ComponentsWebAssembly.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/sample-data/weather.json @@ -2,31 +2,26 @@ { "date": "2018-05-06", "temperatureC": 1, - "summary": "Freezing", - "temperatureF": 33 + "summary": "Freezing" }, { "date": "2018-05-07", "temperatureC": 14, - "summary": "Bracing", - "temperatureF": 57 + "summary": "Bracing" }, { "date": "2018-05-08", "temperatureC": -13, - "summary": "Freezing", - "temperatureF": 9 + "summary": "Freezing" }, { "date": "2018-05-09", "temperatureC": -16, - "summary": "Balmy", - "temperatureF": 4 + "summary": "Balmy" }, { "date": "2018-05-10", "temperatureC": -2, - "summary": "Chilly", - "temperatureF": 29 + "summary": "Chilly" } ]