You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/03/10 14:54:06 UTC

[incubator-datalab] 01/01: [DATALAB-2325] fixed bug with dropdown values for lib management

This is an automated email from the ASF dual-hosted git repository.

ytykhun pushed a commit to branch DATALAB-2325
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 4e4eefbc9e097aed45bd620e9184bfe26aea3ad2
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Wed Mar 10 16:53:21 2021 +0200

    [DATALAB-2325] fixed bug with dropdown values for lib management
---
 .../multi-select-dropdown/multi-select-dropdown.component.html    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/shared/form-controls/multi-select-dropdown/multi-select-dropdown.component.html b/services/self-service/src/main/resources/webapp/src/app/shared/form-controls/multi-select-dropdown/multi-select-dropdown.component.html
index d997d71..2458d9f 100644
--- a/services/self-service/src/main/resources/webapp/src/app/shared/form-controls/multi-select-dropdown/multi-select-dropdown.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/shared/form-controls/multi-select-dropdown/multi-select-dropdown.component.html
@@ -48,8 +48,12 @@
               role="menuitem" 
               (click)="toggleSelectedOptions($event, model, item)">
               <span class="material-icons" *ngIf="model.indexOf(item) >= 0">done</span>
-              <ng-container *ngIf="type !== 'resource_type' && type !== 'resource_types' && item !== 'invalid_name' && item !== 'invalid_version' && item !== 'installation_error'">{{item}}</ng-container>
-              <ng-container *ngIf="type === 'resource_type' || type === 'resource_types' || item === 'invalid_name' || item === 'invalid_version' || item === 'installation_error'">{{item | convertaction}}</ng-container>
+              <ng-container *ngIf="type !== 'resource_type' && type !== 'resource_types' && item !== 'invalid_name' && item !== 'invalid_version' && item !== 'installation_error'">
+                <div [ngClass]="{'uppercase': type === 'status'}">{{item}}</div>
+              </ng-container>
+              <ng-container *ngIf="type === 'resource_type' || type === 'resource_types' || item === 'invalid_name' || item === 'invalid_version' || item === 'installation_error'">
+                <div [ngClass]="{'uppercase': type === 'status' || type === 'resource_type'}">{{item | convertaction}}</div>
+              </ng-container>
             </a>
           </li>
         </ng-template>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org