airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] branch master updated: Handle null description in SSHCredentialSelector
Date Wed, 02 Oct 2019 15:00:56 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/master by this push:
     new faa8be4  Handle null description in SSHCredentialSelector
faa8be4 is described below

commit faa8be4c18e02c4c90c11a852e5a8904f7310b2d
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Wed Oct 2 11:00:43 2019 -0400

    Handle null description in SSHCredentialSelector
---
 .../src/components/credentials/SSHCredentialSelector.vue                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/credentials/SSHCredentialSelector.vue
b/django_airavata/apps/admin/static/django_airavata_admin/src/components/credentials/SSHCredentialSelector.vue
index c9c6584..a58c007 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/credentials/SSHCredentialSelector.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/credentials/SSHCredentialSelector.vue
@@ -69,7 +69,7 @@ export default {
         ? this.credentials.map(summary => {
             return {
               value: summary.token,
-              text: summary.description
+              text: !summary.description ? summary.description : `No description (${summary.token})`
             };
           })
         : [];


Mime
View raw message