You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/08/30 13:35:41 UTC

[incubator-dlab] branch DLAB-981 updated: [DLAB-1053]: added extra custom tag check

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

ankovalyshyn pushed a commit to branch DLAB-981
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-981 by this push:
     new 9731d92  [DLAB-1053]: added extra custom tag check
9731d92 is described below

commit 9731d9254c75c490958fd6d6482191dd3e4fc3a7
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Aug 30 16:35:30 2019 +0300

    [DLAB-1053]: added extra custom tag check
---
 .../src/app/resources/resources-grid/resources-grid.component.html   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 22990b6..3771bb8 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
@@ -110,9 +110,10 @@
           <td class="shape-col">{{ element.shape }}</td>
 
           <td class="tag-col selection">
-            <mat-chip-list aria-label="Fish selection">
+            <mat-chip-list aria-label="Tags">
               <mat-chip matTooltip="Endpoint tag" matTooltipPosition="above">{{ element.tags.endpoint_tag }}</mat-chip>
-              <mat-chip matTooltip="Custom tag" matTooltipPosition="above">{{ element.tags.custom_tag }}</mat-chip>
+              <mat-chip *ngIf="element.tags.custom_tag" matTooltip="Custom tag" matTooltipPosition="above">
+                {{ element.tags.custom_tag }}</mat-chip>
               <mat-chip matTooltip="User tag" matTooltipPosition="above">{{ element.tags.user_tag }}</mat-chip>
               <mat-chip matTooltip="Project tag" matTooltipPosition="above">{{ element.tags.project_tag }}</mat-chip>
             </mat-chip-list>


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