@@ -67,8 +67,8 @@ export class ProjectListService implements OnDestroy {
6767 // Requested Page Called First Time
6868 else {
6969 new Promise ( ( resolve ) => {
70- this . getLocalProjects ( type , pageNum , limit ) ;
71- // this.getLocalProjects (type, pageNum, limit);
70+ this . getAllProjects ( type , pageNum , limit ) ;
71+ // this.getAllProjects (type, pageNum, limit);
7272 resolve ( this . saveNewlyCachedData ( type , pageNum ) ) ;
7373 } ) ;
7474 this . navigateToRoute ( pageNum ) ;
@@ -77,7 +77,7 @@ export class ProjectListService implements OnDestroy {
7777
7878 // Nothing's Cached
7979 else {
80- this . getLocalProjects ( type , pageNum , limit ) ;
80+ this . getAllProjects ( type , pageNum , limit ) ;
8181 // this.getLocalProjects(type, pageNum, limit);
8282 }
8383 }
@@ -161,7 +161,6 @@ export class ProjectListService implements OnDestroy {
161161 Object . keys ( response ) . filter ( ( currentVal , index ) => {
162162 if ( currentVal === type ) {
163163 allProjects = Object . values ( response ) [ index ] ;
164- // console.log(allProjects);
165164 }
166165 if ( currentVal === 'totals' ) {
167166 this . totalPages = Math . ceil ( response [ 'totals' ] [ type ] / 10 ) ;
0 commit comments