You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/06/06 21:32:09 UTC

[airavata-django-portal] branch develop updated: AIRAVATA-3575 Fix null dereference when applicationDescription is null

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 40ccb1f8 AIRAVATA-3575 Fix null dereference when applicationDescription is null
40ccb1f8 is described below

commit 40ccb1f8e10b57089dc194a55a539e6975ce998a
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon Jun 6 17:32:02 2022 -0400

    AIRAVATA-3575 Fix null dereference when applicationDescription is null
---
 .../src/components/applications/ApplicationInterfaceEditor.vue          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationInterfaceEditor.vue b/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationInterfaceEditor.vue
index 40e8a877..c33c8c46 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationInterfaceEditor.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/applications/ApplicationInterfaceEditor.vue
@@ -50,7 +50,7 @@
           :state="!data.applicationDescription || data.applicationDescription.length < 500"
         >
         </b-form-textarea>
-        <b-form-valid-feedback v-if="!!data.applicationDescription.length">
+        <b-form-valid-feedback v-if="!!data.applicationDescription">
           {{ data.applicationDescription.length }} / 500
         </b-form-valid-feedback>
         <b-form-invalid-feedback>