mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 14:34:09 +00:00
feat(infisical-pg): completed support for tags in secret snapshot
This commit is contained in:
@@ -325,7 +325,7 @@ export const SecretItem = memo(
|
||||
return (
|
||||
<DropdownMenuItem
|
||||
onClick={() => handleTagSelect(tag)}
|
||||
key={tagId}
|
||||
key={`${secret.id}-${tagId}`}
|
||||
icon={isTagSelected && <FontAwesomeIcon icon={faCheckCircle} />}
|
||||
iconPos="right"
|
||||
>
|
||||
@@ -339,7 +339,7 @@ export const SecretItem = memo(
|
||||
</DropdownMenuItem>
|
||||
);
|
||||
})}
|
||||
<DropdownMenuItem className="px-1.5">
|
||||
<DropdownMenuItem className="px-1.5" asChild>
|
||||
<Button
|
||||
size="xs"
|
||||
className="w-full"
|
||||
|
||||
@@ -97,7 +97,6 @@ export const SnapshotView = ({
|
||||
{}
|
||||
);
|
||||
const diffView: Array<TDiffView<DecryptedSecret>> = [];
|
||||
console.log({ rollingSecrets, secrets });
|
||||
rollingSecrets.forEach((rollSecret) => {
|
||||
const { id } = rollSecret;
|
||||
const doesExist = Boolean(secretGroupById?.[id]);
|
||||
@@ -119,7 +118,7 @@ export const SnapshotView = ({
|
||||
});
|
||||
return diffView;
|
||||
}, [secrets, rollingSecrets]);
|
||||
console.log(secretDiffView);
|
||||
|
||||
const handleClickRollback = async () => {
|
||||
if (!snapshotData?.id) {
|
||||
createNotification({
|
||||
|
||||
Reference in New Issue
Block a user