From e2e638e7a677aee58e4a2933b497fc20dd54f26a Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Mon, 27 Jul 2020 13:13:00 +0530 Subject: [PATCH] fix params passed during tag deletion (#547) Co-authored-by: Pearl Dsilva Signed-off-by: Rohit Yadav --- ui/src/components/view/InfoCard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 => {