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/07/17 14:48:22 UTC
[incubator-dlab] 03/03: [DLAB-867]: prevent active filtering if no
data available
This is an automated email from the ASF dual-hosted git repository.
ankovalyshyn pushed a commit to branch DLAB-867
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 8e8182741260b29db28b94dd867b397c7c1fd564
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Wed Jul 17 17:48:06 2019 +0300
[DLAB-867]: prevent active filtering if no data available
---
.../src/app/resources/resources-grid/resources-grid.component.scss | 4 ++--
.../main/resources/webapp/src/app/resources/resources.component.html | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
index b984844..90ce1bd 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
@@ -71,7 +71,7 @@ table {
}
.resources-col {
- width: 30%;
+ width: 28%;
padding: 5px;
}
@@ -82,7 +82,7 @@ table {
}
.actions-col {
- width: 8%;
+ width: 10%;
padding-right: 24px;
text-align: right;
}
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources.component.html
index 7595650..3342b61 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources.component.html
@@ -29,7 +29,8 @@
<button mat-raised-button class="butt butt-tool" (click)="manageUngit()">
<i class="material-icons"></i>Git credentials
</button>
- <button mat-raised-button class="butt butt-tool" (click)="toggleFiltering()">
+ <button mat-raised-button class="butt butt-tool" (click)="toggleFiltering()"
+ [disabled]="!exploratoryEnvironments.length">
<span *ngIf="!resourcesGrid.activeFiltering">
<i class="material-icons">visibility_off</i> Show active
</span>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org