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/07/27 07:43:08 UTC
[cloudstack-primate] branch master updated: fix params passed
during tag deletion (#547)
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 83e3189 fix params passed during tag deletion (#547)
83e3189 is described below
commit 83e31898701b70b8c63e90ab88bf513f0623f52a
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Mon Jul 27 13:13:00 2020 +0530
fix params passed during tag deletion (#547)
Co-authored-by: Pearl Dsilva <pe...@shapeblue.com>
---
src/components/view/InfoCard.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/view/InfoCard.vue b/src/components/view/InfoCard.vue
index adf936f..0154f62 100644
--- a/src/components/view/InfoCard.vue
+++ b/src/components/view/InfoCard.vue
@@ -801,8 +801,8 @@ export default {
},
handleDeleteTag (tag) {
const args = {}
- args.resourceids = tag.resourceid
- args.resourcetype = tag.resourcetype
+ args.resourceids = this.resource.id
+ args.resourcetype = this.resourceType
args['tags[0].key'] = tag.key
args['tags[0].value'] = tag.value
api('deleteTags', args).then(json => {