Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/spa-templates.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArash zandi <Arashz44@gmail.com>2022-01-24 14:29:19 +0300
committerGitHub <noreply@github.com>2022-01-24 14:29:19 +0300
commit645b03f7d97699b93b5069e2cd964603ee5b909c (patch)
treea409321c1ed8ca731ee5e7bddaf2858e616ae19a
parenta50a863d1567c73afd8a2913490e0ec48f99e559 (diff)
Update fetch-data.component.html (#25)
-rw-r--r--src/content/Angular-CSharp/ClientApp/src/app/fetch-data/fetch-data.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/Angular-CSharp/ClientApp/src/app/fetch-data/fetch-data.component.html b/src/content/Angular-CSharp/ClientApp/src/app/fetch-data/fetch-data.component.html
index 19b3835..44e4fa9 100644
--- a/src/content/Angular-CSharp/ClientApp/src/app/fetch-data/fetch-data.component.html
+++ b/src/content/Angular-CSharp/ClientApp/src/app/fetch-data/fetch-data.component.html
@@ -2,9 +2,9 @@
<p>This component demonstrates fetching data from the server.</p>
-<p *ngIf="!forecasts"><em>Loading...</em></p>
+<p *ngIf="!forecasts?.length"><em>Loading...</em></p>
-<table class='table table-striped' aria-labelledby="tableLabel" *ngIf="forecasts">
+<table class='table table-striped' aria-labelledby="tableLabel" *ngIf="forecasts.length">
<thead>
<tr>
<th>Date</th>