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/10 15:53:07 UTC
[incubator-dlab] 04/19: [DLAB-691]: prevent terminal opening for
not running instances
This is an automated email from the ASF dual-hosted git repository.
ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 2269b6cd8dbf108504b9a51c791d46b278e5e6a4
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Jul 5 12:34:38 2019 +0300
[DLAB-691]: prevent terminal opening for not running instances
---
.../src/app/resources/resources-grid/resources-grid.component.html | 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.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 840fcd6..ec7d522 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
@@ -151,7 +151,7 @@
<i class="material-icons">developer_board</i>
<span>Manage libraries</span>
</li>
- <li>
+ <li *ngIf="env.status === 'running'">
<a target="_blank" [attr.href]="'/#/terminal/' + env.private_ip" class="navigate">
<i class="material-icons">laptop</i>
<span>Open terminal</span>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org