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: Fix null dereference error
Date Tue, 17 Jul 2018 15:51:19 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 70e68de  Fix null dereference error
70e68de is described below

commit 70e68dea0ea62f7aefbdfb404854b0b45b71a7f4
Author: Marcus Christie <machrist@iu.edu>
AuthorDate: Tue Jul 17 11:51:12 2018 -0400

    Fix null dereference error
---
 .../js/components/experiment/ComputationalResourceSchedulingEditor.vue  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ComputationalResourceSchedulingEditor.vue
b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ComputationalResourceSchedulingEditor.vue
index f44330a..e58d8e5 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ComputationalResourceSchedulingEditor.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ComputationalResourceSchedulingEditor.vue
@@ -78,7 +78,7 @@ export default {
             const computeResourceOptions = this.applicationDeployments.map(dep => {
                 return {
                     value: dep.computeHostId,
-                    text: dep.computeHostId in this.computeResources ? this.computeResources[dep.computeHostId]
: null,
+                    text: dep.computeHostId in this.computeResources ? this.computeResources[dep.computeHostId]
: "",
                 }
             });
             computeResourceOptions.sort((a, b) => a.text.localeCompare(b.text));


Mime
View raw message