File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
frontend/src/app/government-service/components/representative-list Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export class RepresentativeListComponent implements OnInit {
55
55
private listAllRepresentatives ( ) {
56
56
this . representativeService . renderAllRepresentatives ( ) . subscribe ( ( data ) => {
57
57
this . representatives = data . map ( ( representative ) => {
58
+ console . log ( "Representatives: " + JSON . stringify ( representative ) ) ;
58
59
const government = representative . government ;
59
60
return {
60
61
...representative ,
@@ -71,6 +72,7 @@ export class RepresentativeListComponent implements OnInit {
71
72
. findByGovernmentId ( this . currentGovernmentId )
72
73
. subscribe ( ( data ) => {
73
74
this . representatives = data . map ( ( representative ) => {
75
+ console . log ( "Representatives: " + JSON . stringify ( representative ) ) ;
74
76
const government = representative . government ;
75
77
return {
76
78
...representative ,
@@ -84,6 +86,7 @@ export class RepresentativeListComponent implements OnInit {
84
86
private governmentList ( ) {
85
87
this . governmentService . renderAllGovernments ( ) . subscribe (
86
88
( response ) => {
89
+ console . log ( "Representatives: " + JSON . stringify ( response ) ) ;
87
90
this . governmentsSubject . next ( response ) ;
88
91
} ,
89
92
( error ) => {
You can’t perform that action at this time.
0 commit comments