From a2178095b54d9100c18a23ab93c4ea88143627e8 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 25 May 2021 12:29:07 +0000 Subject: [PATCH] [Trunk | Library]: 1. divIds.component.ts: Added in label of each option, page.portalType (not only page name, to know when creating new DivId, earch page in which portal belogs). 2. input.component.ts: Added in each (dropdown options), option label as uk-tooltip. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61047 d315682c-612b-4755-9ff5-7f18f6832af3 --- dashboard/divId/divIds.component.ts | 2 +- sharedComponents/input/input.component.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dashboard/divId/divIds.component.ts b/dashboard/divId/divIds.component.ts index 450c3ddd..549895e7 100644 --- a/dashboard/divId/divIds.component.ts +++ b/dashboard/divId/divIds.component.ts @@ -293,7 +293,7 @@ export class DivIdsComponent implements OnInit { this.allPages = []; pages.forEach(page => { this.allPages.push({ - label: page.name, + label: page.name + " [" + page.portalType + "]", value: page }); }); diff --git a/sharedComponents/input/input.component.ts b/sharedComponents/input/input.component.ts index edf1a021..0e91103a 100644 --- a/sharedComponents/input/input.component.ts +++ b/sharedComponents/input/input.component.ts @@ -77,7 +77,7 @@ export interface Option { (openedChange)="stopPropagation()" [formControl]="formControl" [disableOptionCentering]="true"> {{placeholder}} - + {{option.label}} @@ -108,7 +108,7 @@ export interface Option {
- + {{option.label}} @@ -140,7 +140,7 @@ export interface Option {
- + {{option.label}}