Project

General

Profile

« Previous | Next » 

Revision 61003

[Trunk | Library]:
1. result-preview.ts: In Project interface, added optional boolean field "validated" (parsed in landing pages to show validated projects by funders).
2. parsingFunctions.class.ts: In method "parseFundingByProjects()" added parsing for "validated" field.
3. fundedBy.component.ts: ticket #6228 - Show "Validated by funder" message if "validate" field is true.
4. dataProvider.component.ts: [Bug fix] In method "getDataProviderAggregationStatus()" set "aggregationStatusIsInitialized" to true on success and on error
(not on complete, because after error it never completes and keeps on loading).
5. orcid.component.ts: [Bug fix]
a. In method "getToken()" set "showLoading" to false on success and on error (after error there is no complete).
b. In method "getPersonalDetails()" move "setTimeout" from complete to error.
6. showPublisher.component.ts: [Bug fix] Add "UTC" in pipe when showing published date ({{publishDate | date: 'dd MMM yyyy' : 'UTC'}}).
7. timeout-interceptor.service.ts: Timeout only GET requests.

View differences:

timeout-interceptor.service.ts
11 11
  }
12 12

  
13 13
  intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
14
    if (req.method !== 'GET') {
15
      return next.handle(req);
16
    }
17

  
14 18
    const timeoutValue = req.headers.get('timeout') || this.defaultTimeout;
15 19
    const timeoutValueNumeric = Number(timeoutValue);
16 20

  

Also available in: Unified diff