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 2018/12/13 19:59:43 UTC

[airavata-django-portal] 01/03: AIRAVATA-2616 Fixing linting errors

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

commit 87acf41bc02ca590736b5b46a2dca542c0e385a5
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Wed Dec 12 11:27:20 2018 -0500

    AIRAVATA-2616 Fixing linting errors
---
 .../js/components/experiment/ExperimentSummary.vue             | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
index e6292cb..af529f4 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
@@ -34,13 +34,13 @@
                   <th scope="row">Outputs</th>
                   <td>
                     <template v-for="output in localFullExperiment.outputDataProducts">
-                      <span v-if="output.downloadURL">
+                      <span v-if="output.downloadURL" :key="output.productUri">
                         <a :href="output.downloadURL">
                           <i class="fa fa-download"></i>
                           {{ output.filename }}
                         </a>
                       </span>
-                      <span v-else>{{ output.filename }}</span>
+                      <span v-else :key="output.productUri">{{ output.filename }}</span>
                     </template>
                   </td>
                 </tr>
@@ -81,7 +81,7 @@
                         <th>Status</th>
                         <th>Creation Time</th>
                       </thead>
-                      <tr v-for="(jobDetail, index) in localFullExperiment.jobDetails">
+                      <tr v-for="(jobDetail, index) in localFullExperiment.jobDetails" :key="jobDetail.jobId">
                         <td>{{ jobDetail.jobName }}</td>
                         <td>{{ jobDetail.jobId }}</td>
                         <td>{{ jobDetail.jobStatusStateName }}</td>
@@ -131,13 +131,13 @@
                   <th scope="row">Inputs</th>
                   <td>
                     <template v-for="input in localFullExperiment.inputDataProducts">
-                      <span v-if="input.downloadURL">
+                      <span v-if="input.downloadURL" :key="input.productUri">
                         <a :href="input.downloadURL">
                           <i class="fa fa-download"></i>
                           {{ input.filename }}
                         </a>
                       </span>
-                      <span v-else>{{ input.filename }}</span>
+                      <span v-else :key="input.productUri">{{ input.filename }}</span>
                     </template>
                   </td>
                 </tr>