diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index adf936f90e1..0154f624b3c 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/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 => {