You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2020/11/09 15:17:33 UTC

[incubator-datalab] 03/03: [DATALAB-2149]: Fixed issue with long tags, added group name validation

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

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

commit f9e68a4ecc5cb31f8be95fdd1bd185d6443ceb18
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Mon Nov 9 17:17:09 2020 +0200

    [DATALAB-2149]: Fixed issue with long tags,added group name validation
---
 .../webapp/src/app/administration/roles/roles.component.html      | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html
index d89ce50..c1c0c5e 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html
@@ -103,7 +103,13 @@
         <th mat-header-cell *matHeaderCellDef class="name"> Group name </th>
         <td mat-cell *matCellDef="let element" class="name">
           <div class="d-flex">
-            <span [matTooltip]="element.group" matTooltipPosition="above" [matTooltipClass]="'full-size-tooltip'">{{element.group}}</span>
+            <span [matTooltip]="element.group"
+                  matTooltipPosition="above"
+                  [matTooltipClass]="'full-size-tooltip'"
+                  [matTooltipDisabled]="element.group.length<30"
+            >
+              {{element.group}}
+            </span>
           </div>
         </td>
       </ng-container>


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