Fix tag and metadata insert/update logic on revert/rollback and fix tree checkpoint logic to exclude reserved folders

This commit is contained in:
carlosmonastyrski
2025-05-26 14:31:05 -03:00
parent e5bc609a2a
commit 5fc6fd71ce
14 changed files with 208 additions and 66 deletions
@@ -127,13 +127,13 @@ export const RollbackPreviewTab = (): JSX.Element => {
deepRollback,
environment: envSlug,
directory: secretPath,
envId: currentWorkspace.environments.find((e) => e.slug === envSlug)?.id || ""
envSlug
});
const { data: rollbackChangesNested, isLoading } = useGetRollbackPreview(
folderId,
selectedCommitId,
currentWorkspace.environments.find((e) => e.slug === envSlug)?.id || "",
envSlug,
currentWorkspace.id,
deepRollback,
secretPath