Skip to content

Commit 4c2b0be

Browse files
committed
removed unneeded logs
1 parent fa1c249 commit 4c2b0be

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed

client/src/app/dashboard/add-dialog/add-dialog.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export class AddDialogComponent implements OnInit {
3939
}
4040

4141
onKeydown(event) {
42-
console.log(event);
4342
this.thisDialogRef.close({
4443
status: 'Add',
4544
name: this.name

client/src/app/dashboard/graph-view/graph-view.service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export class GraphViewService {
6262
this.elementRemover = new BehaviorSubject<Array<string>>([]);
6363

6464
this.modelService.getObservableForInstances().subscribe((change: InstanceChange) => {
65-
console.log('received notification in graph view service', change);
6665
if (change.elements !== undefined) {
6766
if (change.type === Actions.DELETE) {
6867
this.removeElements(change.elements);
@@ -74,7 +73,6 @@ export class GraphViewService {
7473
}
7574

7675
public reconnect(from: string, to: string) {
77-
console.log('trying to reconnect', from, to);
7876
this.apiService.postReconnect(Number(from), Number(to)).subscribe((res) => {
7977
console.log('reconnect returned with result', res);
8078
});
@@ -86,9 +84,8 @@ export class GraphViewService {
8684
}
8785

8886
private handleElements(type: Actions, instances: Array<Instance>) {
89-
console.log('received new instance in graph view service', instances);
87+
9088
const eles: Array<cytoscape.ElementDefinition> = this.createCytoscapeElements(instances);
91-
console.log('parsed instance to eles', eles);
9289
this.elementProvider.next({type: type, elements: eles});
9390
}
9491

@@ -135,7 +132,6 @@ export class GraphViewService {
135132
return new Observable((observer) => {
136133
// calculate init value
137134
const allInstances = Object.values(this.storeService.getState().instances);
138-
console.log('all instances', allInstances);
139135
const cyElements = this.createCytoscapeElements(allInstances);
140136
observer.next({type: Actions.ADD, elements: cyElements});
141137
this.elementProvider.subscribe(observer);

client/src/app/dashboard/info-center/info-center-datasource.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ export class InfoCenterDataSource extends DataSource<InfoCenterItem> {
9494
* this would be replaced by requesting the appropriate data from the server.
9595
*/
9696
private getPagedData() {
97-
console.log('here2', this.paginator, this.paginator.pageIndex !== undefined, this.paginator.pageSize !== undefined);
97+
9898
if (this.paginator && this.paginator.pageIndex !== undefined && this.paginator.pageSize !== undefined) {
99-
console.log('here', this.paginator);
10099
const startIndex = this.paginator.pageIndex * this.paginator.pageSize;
101100
return [...this.data].splice(startIndex, this.paginator.pageSize);
102101
}

client/src/app/model/event.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export class EventService {
2222
this.eventState = new BehaviorSubject<InfoCenterItem[]>([]);
2323

2424
this.storeService.getStoreObservable().subscribe((change: StateUpdate) => {
25-
console.log('changes to state', change);
2625
// don't create an event for the intial state creation
2726
// all actions expect none have instances
2827
if (change.change.type !== Actions.NONE && change.change.elements) {

0 commit comments

Comments
 (0)