mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 08:14:06 +00:00
Merge pull request #889 from EBEN4REAL/custom-tag-colors
Custom tag colors
This commit is contained in:
+3
-1
@@ -53,7 +53,8 @@ export const AddSecretTagModal = ({
|
||||
await createWsTag.mutateAsync({
|
||||
workspaceID: currentWorkspace?._id,
|
||||
tagName: name,
|
||||
tagSlug: name.replace(" ", "_")
|
||||
tagSlug: name.replace(/\s+/g, " ").replace(" ", "_"),
|
||||
tagColor: ""
|
||||
});
|
||||
|
||||
handlePopUpClose("CreateSecretTag");
|
||||
@@ -62,6 +63,7 @@ export const AddSecretTagModal = ({
|
||||
text: "Successfully created a tag",
|
||||
type: "success"
|
||||
});
|
||||
reset()
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
createNotification({
|
||||
|
||||
Reference in New Issue
Block a user