mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
fix params passed during tag deletion (#547)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
7b4ad728f2
commit
e2e638e7a6
@ -801,8 +801,8 @@ export default {
|
|||||||
},
|
},
|
||||||
handleDeleteTag (tag) {
|
handleDeleteTag (tag) {
|
||||||
const args = {}
|
const args = {}
|
||||||
args.resourceids = tag.resourceid
|
args.resourceids = this.resource.id
|
||||||
args.resourcetype = tag.resourcetype
|
args.resourcetype = this.resourceType
|
||||||
args['tags[0].key'] = tag.key
|
args['tags[0].key'] = tag.key
|
||||||
args['tags[0].value'] = tag.value
|
args['tags[0].value'] = tag.value
|
||||||
api('deleteTags', args).then(json => {
|
api('deleteTags', args).then(json => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user