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 2020/10/12 14:17:56 UTC
[airavata-django-portal] branch master updated: Bug fix: apply
compute resource default selection when switching GRP
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 8bd7018 Bug fix: apply compute resource default selection when switching GRP
8bd7018 is described below
commit 8bd7018c5ea908d5475b26c70188328b18682e08
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon Oct 12 10:14:16 2020 -0400
Bug fix: apply compute resource default selection when switching GRP
---
.../js/components/experiment/ComputationalResourceSchedulingEditor.vue | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 aa8844b..777049e 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
@@ -255,7 +255,6 @@ export default {
!newOptions.find(opt => opt.value === this.resourceHostId)
) {
this.resourceHostId = null;
- this.computeResourceChanged(null);
}
// Apply preferred (most recently used) compute resource
if (
@@ -268,7 +267,6 @@ export default {
)
) {
this.resourceHostId = this.workspacePreferences.most_recent_compute_resource_id;
- this.computeResourceChanged(null);
}
// If none selected, just pick the first one
if (
@@ -276,6 +274,7 @@ export default {
) {
this.resourceHostId = newOptions[0].value;
}
+ this.computeResourceChanged(this.resourceHostId);
},
groupResourceProfileId: function(newGroupResourceProfileId) {
this.loadApplicationDeployments(