davidjumani commented on a change in pull request #458:
URL: https://github.com/apache/cloudstack-primate/pull/458#discussion_r450577211



##########
File path: src/views/AutogenView.vue
##########
@@ -686,6 +687,8 @@ export default {
       }
       this.currentAction = action
       this.currentAction.params = 
store.getters.apis[this.currentAction.api].params
+      this.resource = action.resource
+      this.$emit('change-resource', this.resource)

Review comment:
       @rhtyd Is there a better way to ensure the right resource gets passed to 
the action form? The other changes made in 
b02a796c10780c1d63430ae7c1ff381dcdf0e539 only apprear to work for autogenerated 
forms




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to