You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/05/06 21:20:41 UTC

[cloudstack-primate] branch master updated: component: fix undefined action.resource (#327)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new b292693  component: fix undefined action.resource (#327)
b292693 is described below

commit b292693283ee48992f792f1a9453f9ddbf18a603
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Thu May 7 02:50:32 2020 +0530

    component: fix undefined action.resource (#327)
    
    Fixes undefined action.resource,
    https://github.com/apache/cloudstack-primate/blob/master/src/views/AutogenView.vue#L562
    
    Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
 src/components/view/ActionButton.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/components/view/ActionButton.vue b/src/components/view/ActionButton.vue
index e57180e..937adac 100644
--- a/src/components/view/ActionButton.vue
+++ b/src/components/view/ActionButton.vue
@@ -110,6 +110,7 @@ export default {
   },
   methods: {
     execAction (action) {
+      action.resource = this.resource
       this.$emit('exec-action', action)
     },
     handleShowBadge () {