Skip to content

Commit

Permalink
testing config for test server
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed Feb 8, 2021
1 parent 98e0264 commit 02907b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/app/app-init.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ export class AppInitService {

this._knoraService.knoraApiConnection = AppInitService.settings.apiURL;

this._knoraService.login(AppInitService.settings.email, AppInitService.settings.pwd)
console.log(AppInitService.settings, AppInitService.settings.email, AppInitService.settings.pwd);

this._knoraService.login("root@example.com", "test")
.pipe(
mergeMap(() => this._knoraService.getAllLists(AppInitService.settings.projectIRI)),
mergeMap((lists: ListNodeInfo[]) => forkJoin<Observable<List>>(lists.map((list: ListNodeInfo) => this._knoraService.getList(list.id))))
Expand Down
1 change: 0 additions & 1 deletion src/app/categories/venue/venue.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {MatDialog, MatDialogConfig} from "@angular/material/dialog";
import {MatSort} from "@angular/material/sort";
import {MatTableDataSource} from "@angular/material/table";
import {Venue} from "../../model/model";
import {ApiService} from "../../services/api.service";
import {CreateUpdateVenueComponent} from "./create-update-venue/create-update-venue.component";
import {FormControl, FormGroup} from "@angular/forms";
import {IDisplayedProperty, IMainClass} from "../../model/displayModel";
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fetch(`config/config.${environment.name}.json`)
// Store the response somewhere that your ConfigService can read it.
window["tempConfigStorage"] = config;

// console.log("config", config);
console.log("config", config);


platformBrowserDynamic()
Expand Down

0 comments on commit 02907b9

Please sign in to comment.