From 6596a8137ac6a3db09465100e165de65c92e7580 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 7 May 2020 02:50:32 +0530 Subject: [PATCH] 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 Signed-off-by: Rohit Yadav --- ui/src/components/view/ActionButton.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/components/view/ActionButton.vue b/ui/src/components/view/ActionButton.vue index e57180ef179..937adac3ab0 100644 --- a/ui/src/components/view/ActionButton.vue +++ b/ui/src/components/view/ActionButton.vue @@ -110,6 +110,7 @@ export default { }, methods: { execAction (action) { + action.resource = this.resource this.$emit('exec-action', action) }, handleShowBadge () {