Skip to content

Commit

Permalink
Fix issue #387: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraMerdol committed Oct 9, 2023
1 parent 4cd33a1 commit 7af6a99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/shared/table-view/table-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class TableViewComponent implements OnInit, OnDestroy {
@Input() tableFilled = new Subject<boolean>();
@Input() clearFilter = new Subject<boolean>();
@Output() onFilteringChanged = new EventEmitter<TableFiltering>();
@Output() onDataForQueryResult = new EventEmitter<{ dbIds: number[] | string[], tableIdx: number[] }>();
@Output() onDataForQueryResult = new EventEmitter<{ dbIds: string[], tableIdx: number[] }>();

constructor(private _cyService: CytoscapeService, private _g: GlobalVariableService, private _ngZone: NgZone) { }

Expand Down Expand Up @@ -248,7 +248,7 @@ export class TableViewComponent implements OnInit, OnDestroy {

loadGraph4Checked() {
// index 0 keeps database IDs
let dbIds = this.params.results.filter((_, i) => this.checkedIdx[i]).map(x => x[0].val) as number[];
let dbIds = this.params.results.filter((_, i) => this.checkedIdx[i]).map(x => x[0].val) as string[];
let idxes = [];
for (let i in this.checkedIdx) {
idxes.push(Number(i) + 1);
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const environment = {
production: true,
dbConfig: {
url: 'http://ivis.cs.bilkent.edu.tr:3001/db/data/transaction/commit',
url: 'http://ivis.cs.bilkent.edu.tr:3001/db/neo4j/tx/commit',
username: 'neo4j',
password: '12345678'
}
Expand Down

0 comments on commit 7af6a99

Please sign in to comment.