Connect release 25th May 2023 #5

Merged
k.triantafyllou merged 6 commits from develop into master 2023-05-25 16:10:42 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 95a3cc3ff6 - Show all commits

View File

@ -36,7 +36,7 @@ export class HttpInterceptorService implements HttpInterceptor {
} else {
if (isPlatformServer(this.platformId)) {
let headers = new HttpHeaders();
if(request.withCredentials) {
if(request.withCredentials && (properties.dashboard !== 'connect' || properties.environment !== 'production')) {
headers = headers.set('Cookie', this.req.get('Cookie'));
}
const authReq = request.clone({

View File

@ -56,6 +56,7 @@ export class EntitiesSelectionComponent {
showPage["" + data['pages'][i]["route"] + ""] = data['pages'][i]["isEnabled"];
}
}
this.entities = [];
if(this.onlyresults) {
if(this.simpleView) {
this.entities.push({label: 'All ' + OpenaireEntities.RESULTS.toLowerCase(), value: 'all'});