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/10/21 10:04:39 UTC

[incubator-dlab] branch DLAB-1057 updated: [DLAB-1157]: keep selected project on active filtering

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

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


The following commit(s) were added to refs/heads/DLAB-1057 by this push:
     new 523d78d  [DLAB-1157]: keep selected project on active filtering
523d78d is described below

commit 523d78d64115b7528049ad6aa8387069c7e50a17
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Oct 21 13:04:27 2019 +0300

    [DLAB-1157]: keep selected project on active filtering
---
 .../webapp/src/app/resources/resources-grid/resources-grid.component.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.ts
index e536835..14014e7 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.ts
@@ -215,6 +215,8 @@ export class ResourcesGridComponent implements OnInit {
 
   filterActiveInstances(): FilterConfigurationModel {
     const filteredData = (<any>Object).assign({}, this.filterConfiguration);
+    filteredData.project = this.activeProject || '';
+
     for (const index in filteredData) {
       if (filteredData[index] instanceof Array)
         filteredData[index] = filteredData[index].filter((item: string) => {


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