Changeset aa84219
- Timestamp:
- Feb 16, 2020, 6:00:44 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 667b844
- Parents:
- 538a9fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice-webclient/src/app/mygnuboat/logadd.component.ts
r538a9fe raa84219 3 3 import { Observable, Subscription } from 'rxjs'; 4 4 import { FormBuilder, FormGroup, Validators } from '@angular/forms'; 5 import { ActivatedRoute } from '@angular/router';5 import { Router, ActivatedRoute } from '@angular/router'; 6 6 7 7 import { User, Water, WatersService, Device, DevicesService, Gauge, LogCreation, LogsService, LogMetaData, LogGeoJson } from '../../../src-gen/gnuboat-mapservice'; … … 51 51 private authenticationService: AuthenticationService, 52 52 private formBuilder: FormBuilder, 53 private _route: ActivatedRoute 53 private _route: ActivatedRoute, 54 private router: Router, 54 55 ) { 55 56 } … … 208 209 let fileReader = new FileReader(); 209 210 210 console.log(this.logFileInput);211 212 211 this.isUploading = true; 213 212 //this.logsService.logsLogCreate(JSON.stringify(logCreation), this.logForm.get('logfile').value).pipe(first()).subscribe(result => { … … 226 225 this.logForm.reset(); 227 226 this.logForm.clearValidators(); 227 228 this.router.navigate(['/water', logCreation.water]); 228 229 }, 229 230 errorUpload => {
Note:
See TracChangeset
for help on using the changeset viewer.
