diff --git a/src/app/data/data.component.html b/src/app/data/data.component.html
index 80b3c38..5112bc3 100644
--- a/src/app/data/data.component.html
+++ b/src/app/data/data.component.html
@@ -10,11 +10,20 @@
{{ area['AREA'] }}
+
+
diff --git a/src/app/data/data.component.ts b/src/app/data/data.component.ts
index 8c3f725..b98a893 100644
--- a/src/app/data/data.component.ts
+++ b/src/app/data/data.component.ts
@@ -38,12 +38,12 @@ export class DataComponent implements OnInit {
}
public submitData() {
- this.springsLoading = true
+ this.springsLoading = true //Request started we set variable to `true`
let data = { areas: [{ area: this.selectedArea }] }
this.sasService.request('common/getdata', data).then((res: any) => {
this.springs = res['springs']
- this.springsLoading = false
+ this.springsLoading = false // Request is finished, success or fail anyway we set variable to false
if (!res || !res['springs'] || res['spring']?.length < 1) {
this.noData = true