[Library]: Change dataProvider class base on new API call

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57354 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-10-13 20:08:47 +00:00
parent 1b6eb9cdd0
commit 299a2bbb61
2 changed files with 3 additions and 5 deletions

View File

@ -4,15 +4,15 @@ export class ContentProvider {
communityId: string; communityId: string;
name: string; name: string;
officialname: string; officialname: string;
selcrit: SelCrit; selectioncriteria: string;
} }
export class SelCrit { export class SelectionCriteria {
criteria: Criteria[] = []; criteria: Criteria[] = [];
} }
export class Criteria { export class Criteria {
constraint: Constraint[] = []; sc: Constraint[] = [];
} }
export class Constraint { export class Constraint {

View File

@ -59,8 +59,6 @@ export class ClickOutsideOrEsc implements OnInit, OnDestroy {
onGlobalClick(event: MouseEvent) { onGlobalClick(event: MouseEvent) {
if (event instanceof MouseEvent && this.listening === true) { if (event instanceof MouseEvent && this.listening === true) {
console.info(typeof event.target);
console.info(event.target);
if (event.target['id'] != this.targetId) { if (event.target['id'] != this.targetId) {
this.clickOutside.emit({ this.clickOutside.emit({
target: (event.target || null), target: (event.target || null),