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 4fbc4fb  AIRAVATA-3026 Emit 'input' when queue settings change
4fbc4fb is described below

commit 4fbc4fba30b83dfeb50fb7eb911f6cfa91e30404
Author: Marcus Christie <[email protected]>
AuthorDate: Tue Apr 23 09:43:44 2019 -0400

    AIRAVATA-3026 Emit 'input' when queue settings change
    
    VModelMixin only emits change events ('input' events) for object models
    when deep properties change. QueueSettingsEditor.vue properly emits
    change events when queue settings change, but since
    ComputationalResourceSchedulingEditor.vue uses the same object as the
    model, no change event is triggered there. The change event must be
    explicitly emitted when queue settings change.
---
 .../js/components/experiment/ComputationalResourceSchedulingEditor.vue   | 1 +
 1 file changed, 1 insertion(+)

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 caca60e..dd4c76d 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
@@ -214,6 +214,7 @@ export default {
       // the resourceHostId so we need to copy it back into the instance
       // whenever it changes
       this.localComputationalResourceScheduling.resourceHostId = 
this.resourceHostId;
+      this.$emit('input', this.data);
     },
     queueSettingsValidityChanged(valid) {
       this.invalidQueueSettings = !valid;

Reply via email to