feat: added name in attach tag

This commit is contained in:
=
2024-08-09 14:38:15 +05:30
parent 5176e70437
commit 1fc18fe23b
3 changed files with 18 additions and 16 deletions
@@ -2086,7 +2086,7 @@ export const secretServiceFactory = ({
return {
...updatedSecret[0],
tags: [...existingSecretTags, ...tags].map((t) => ({ id: t.id, slug: t.slug, color: t.color }))
tags: [...existingSecretTags, ...tags].map((t) => ({ id: t.id, slug: t.slug, name: t.slug, color: t.color }))
};
};