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 <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Abhishek Kumar 2020-05-07 02:50:32 +05:30 committed by Rohit Yadav
parent b9385f49d0
commit 6596a8137a

View File

@ -110,6 +110,7 @@ export default {
},
methods: {
execAction (action) {
action.resource = this.resource
this.$emit('exec-action', action)
},
handleShowBadge () {