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/11/22 14:05:22 UTC

[incubator-dlab] 02/02: [DLAB-1304]: added project parameter while starting notebook

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

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

commit 8adbcb1eaf44e3c82ac4338764dac7baa1d7523e
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Nov 22 16:05:04 2019 +0200

    [DLAB-1304]: added project parameter while starting notebook
---
 .../webapp/src/app/resources/resources-grid/resources-grid.component.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 303dc3e..c29d76f 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
@@ -294,7 +294,7 @@ export class ResourcesGridComponent implements OnInit {
         .afterClosed().subscribe(() => this.buildGrid());
     } else if (action === 'run') {
       this.userResourceService
-        .runExploratoryEnvironment({ notebook_instance_name: data.name })
+        .runExploratoryEnvironment({ notebook_instance_name: data.name, project_name: data.project })
         .subscribe(
           () => this.buildGrid(),
           error => this.toastr.error(error.message || 'Exploratory starting failed!', 'Oops!'));


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