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 13:14:47 UTC
[airavata-django-portal] branch develop updated: AIRAVATA-3574: Fix application description in experiment edit
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 fe5b3082 AIRAVATA-3574: Fix application description in experiment edit
new 674a2516 Merge pull request #97 from dinukadesilva/AIRAVATA-3574-bug-fixes
fe5b3082 is described below
commit fe5b308210ec3f42a48c6003d3512b37471bc797
Author: Dinuka De Silva <l....@gmail.com>
AuthorDate: Sun Jun 5 20:14:15 2022 -0400
AIRAVATA-3574: Fix application description in experiment edit
---
.../js/components/experiment/ExperimentEditor.vue | 10 ++++++----
.../js/containers/EditExperimentContainer.vue | 3 +++
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentEditor.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentEditor.vue
index 4e2a4fe0..79e04a25 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentEditor.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentEditor.vue
@@ -88,13 +88,15 @@
</div>
</div>
<div class="row">
- <workspace-notices-management-container
- v-if="appInterface.applicationDescription"
- :data="[{notificationMessage: appInterface.applicationDescription}]"/>
+ <div class="col">
+ <workspace-notices-management-container class="mt-2"
+ v-if="appInterface && appInterface.applicationDescription"
+ :data="[{notificationMessage: appInterface.applicationDescription}]"/>
+ </div>
</div>
<div class="row">
<div class="col">
- <h1 class="h4 mt-5 mb-4">Application Configuration</h1>
+ <h1 class="h4 mt-2 mb-4">Application Configuration</h1>
</div>
</div>
<div class="row">
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/EditExperimentContainer.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/EditExperimentContainer.vue
index 5729c91c..c932b984 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/EditExperimentContainer.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/EditExperimentContainer.vue
@@ -3,6 +3,7 @@
v-if="appModule"
:experiment="experiment"
:app-module="appModule"
+ :app-interface="appInterface"
@saved="handleSavedExperiment"
@savedAndLaunched="handleSavedAndLaunchedExperiment"
>
@@ -28,6 +29,7 @@ export default {
return {
experiment: null,
appModule: null,
+ appInterface: null
};
},
components: {
@@ -59,6 +61,7 @@ export default {
);
})
.then((appInterface) => {
+ this.appInterface = appInterface;
const appModuleId = appInterface.applicationModules[0];
return services.ApplicationModuleService.retrieve({
lookup: appModuleId,